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

Sandro Tosi morph at debian.org
Sat Sep 10 21:15:06 UTC 2011


The following commit has been merged in the master branch:
commit 88425efe0950973bd6d7639289cc6a7557ef9698
Author: Sandro Tosi <morph at debian.org>
Date:   Thu Sep 8 20:20:18 2011 +0200

    use the bug number for the follow-up address, instead of the Bugreport instance; thanks to Jan Braun for the report; Closes: #640434

diff --git a/bin/reportbug b/bin/reportbug
index 8c960ae..1301f9e 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -2069,17 +2069,17 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
             else:
                 if exinfo:
                     if sendto != 'submit':
-                        sendto = '%d-%s' % (exinfo, sendto)
+                        sendto = '%d-%s' % (exinfo.bug_num, sendto)
                     else:
-                        sendto = str(exinfo)
+                        sendto = str(exinfo.bug_num)
 
                 sendto = sendto+'@'+submitto
         elif '@' not in sendto:
             if exinfo:
                 if sendto != 'submit':
-                    sendto = '%d-%s' % (exinfo, sendto)
+                    sendto = '%d-%s' % (exinfo.bug_num, sendto)
                 else:
-                    sendto = str(exinfo)
+                    sendto = str(exinfo.bug_num)
 
             try:
                 sendto = sysinfo['email'] % sendto
diff --git a/debian/changelog b/debian/changelog
index 704da56..d1de8a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,11 +3,13 @@ reportbug (6.3) UNRELEASED; urgency=low
   * bin/reportbug
     - be more explicit that Ctrl+c on subject menu exit reportbug without
       sending any report; thanks to simon for the report; Closes: #640213
+    - use the bug number for the follow-up address, instead of the Bugreport
+      instance; thanks to Jan Braun for the report; Closes: #640434
   * reportbug/utils.py
     - fix a crash when generating dependencies tables for long package name;
       thanks to Wouter Van Hemel for the report; Closes: #640512
 
- -- Sandro Tosi <morph at debian.org>  Tue, 06 Sep 2011 22:09:58 +0200
+ -- Sandro Tosi <morph at debian.org>  Thu, 08 Sep 2011 20:16:06 +0200
 
 reportbug (6.2) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list