[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-9-g5a7a511

Sandro Tosi morph at debian.org
Tue Aug 16 16:11:13 UTC 2011


The following commit has been merged in the master branch:
commit ed8a279fab42556e1f7bc7275f3040b3f0a20c94
Author: Sandro Tosi <morph at debian.org>
Date:   Tue Aug 16 02:50:51 2011 +0200

    in ftp.d.o override menu, if section and priority are not changed, allow to send the bug anyhow, because it's the override file outdated; thanks to Niels Thykier for the report; Closes: #628769

diff --git a/debian/changelog b/debian/changelog
index 6032cd0..217d428 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,10 +7,13 @@ reportbug (6.1) UNRELEASED; urgency=low
       Niels Thykier for teh report; Closes: #635071
     - added http://release.debian.org/wheezy/rc_policy.txt to 'serious'
       description; thanks to Daniel Dickinson for the report; Closes: #637053
+    - in ftp.d.o override menu, if section and priority are not changed, allow
+      to send the bug anyhow, because it's the override file outdated; thanks to
+      Niels Thykier for the report; Closes: #628769
   * Use debian-swirl.svg (copied from gnome-icon-theme to avoid the dep) in the
     desktop file; thanks to Sérgio Cipolla for the report; Closes: #632383
 
- -- Sandro Tosi <morph at debian.org>  Tue, 16 Aug 2011 01:25:20 +0200
+ -- Sandro Tosi <morph at debian.org>  Tue, 16 Aug 2011 02:49:10 +0200
 
 reportbug (6.0) unstable; urgency=low
 
diff --git a/reportbug/debbugs.py b/reportbug/debbugs.py
index f4ece12..a74e9b7 100644
--- a/reportbug/debbugs.py
+++ b/reportbug/debbugs.py
@@ -299,8 +299,15 @@ def handle_debian_ftp(package, bts, ui, fromaddr, timeout, online=True, http_pro
             new_priority = priority
 
         if new_section == section and new_priority == priority:
-            ui.long_message("You didn't change section nor priority, exiting...")
-            sys.exit(1)
+            cont = ui.select_options(
+                "You didn't change section nor priority: is this because it's "
+                "ftp.debian.org override file that needs updating?",
+                'Yn', {'y': 'ftp.debian.org override file needs updating',
+                       'n': 'No, it\'s not the override file' })
+            if cont == 'n':
+                ui.long_message("There's nothing we can do for you, then; "
+                                "exiting...")
+                sys.exit(1)
 
         arch_section = ui.menu('Is this request for an archive section other than "main"?', {
             'main' : "",

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list