[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.2-17-g7ae8c3b

Sandro Tosi morph at debian.org
Sat May 9 12:59:15 UTC 2009


The following commit has been merged in the master branch:
commit 8aeedf4c8cbfdee6fd9a4bf3c8ff467c581d8fbf
Author: Carl Chenet <carl.chenet at ohmytux.com>
Date:   Sun Apr 26 23:08:44 2009 +0200

    modify yes menu entry for o option

diff --git a/bin/reportbug b/bin/reportbug
index a6025d6..a3cf0f2 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -201,8 +201,13 @@ def handle_editing(filename, dmessage, options, sendto, attachments, package,
                     menuopts = "Eq"
                     prompt = 'ERROR: you have composed an ITP with fields unchanged from the template; this will NOT be submitted. You should edit all fields so they contain correct values for your ITP (e to edit)'
 
+        if options.outfile:
+            yesmessage = 'Store the report in %s.' % options.outfile
+        else:
+            yesmessage = 'Submit the bug report via email.'
+
         x = ui.select_options(prompt, menuopts,
-                              {'y': 'Submit the bug report via email.',
+                              {'y': yesmessage,
                                'n': "Don't submit the bug report; instead, "
                                "save it in a temporary file (exits reportbug).",
                                'q': "Save it in a temporary file and quit.",
@@ -213,6 +218,7 @@ def handle_editing(filename, dmessage, options, sendto, attachments, package,
                                'l': 'Pipe the message through the pager.',
                                'p': 'Print message to stdout.',
                                'm': "Choose a mailer to edit the report."})
+
         if x in ('a', 'i'):
             invalid = True
             while invalid:

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list