[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-33-g870118d

Sandro Tosi morph at debian.org
Wed Jan 6 15:17:45 UTC 2010


The following commit has been merged in the master branch:
commit 2a222c08025a0e85f28771ac4b4bdcbc5572023c
Author: Carl Chenet <carl.chenet at ohmytux.com>
Date:   Fri May 1 23:05:38 2009 +0200

    -f option does not trigger configure mode anymore

diff --git a/bin/reportbug b/bin/reportbug
index 80e9f8d..9ef4e0d 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1093,7 +1093,7 @@ class UI(object):
             attachments = []
 
         if utils.first_run():
-            if not self.args:
+            if not self.args and not self.options.searchfor:
                 offer_configuration(self.options)
                 main()
                 sys.exit(0)
@@ -1131,7 +1131,7 @@ class UI(object):
                     ewrite("reportbug stopped.\n")
                     sys.exit(1)
 
-        if (utils.first_run() and not self.args):
+        if (utils.first_run() and not self.args and not self.options.searchfor):
             offer_configuration(self.options)
             ewrite('To report a bug, please rerun reportbug.\n')
             sys.exit(0)

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list