[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, bts428113, updated. 4.2-33-g2db5032
Sandro Tosi
morph at debian.org
Thu May 21 15:44:11 UTC 2009
The following commit has been merged in the bts428113 branch:
commit 7e7a0f7108aa9d7528f105cad1854b9ab25006d7
Author: Carl Chenet <chaica at ohmytux.com>
Date: Wed Apr 15 16:08:30 2009 +0200
-N option for not asking more CCs during reportbug execution
diff --git a/bin/reportbug b/bin/reportbug
index 3fba286..51cebc1 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -720,6 +720,9 @@ def main():
parser.add_option('-n', '--mh', '--nmh', action='store_const', dest='mua',
help='send the report using mh/nmh',
const=utils.MUA['mh'])
+ parser.add_option('-N', '--no-cc-question', action='store_const', dest='noccquestion',
+ help='do not ask for more CCs while executing reportbug',
+ const=True)
parser.add_option('--mua', dest='mua',
help='send the report using the specified mailer')
parser.add_option('--mta', dest='mta', help='send the report using the '
@@ -1604,7 +1607,8 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
if not listcc:
listcc = []
- if not listcc and mode > MODE_STANDARD and rtype == 'debbugs' and not self.options.testmode and not self.options.template:
+ if (not listcc and mode > MODE_STANDARD and rtype == 'debbugs' and
+ not self.options.testmode and not self.options.template and not self.options.noccquestion):
listcc += ui.get_multiline('Enter any additional addresses this report should be sent to; press ENTER after each address.')
if severity and rtype:
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list