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

Sandro Tosi morph at debian.org
Tue Apr 26 07:13:32 UTC 2011


The following commit has been merged in the master branch:
commit 26d7349733088f11cd083b8d6fce2eb8c0e363ef
Author: Sandro Tosi <morph at debian.org>
Date:   Tue Apr 26 00:28:19 2011 +0200

    don't try to convert followup information if it wasn't set; part of the fix of #619801

diff --git a/reportbug/bugreport.py b/reportbug/bugreport.py
index a59220b..8bfa5e7 100644
--- a/reportbug/bugreport.py
+++ b/reportbug/bugreport.py
@@ -50,7 +50,7 @@ class bugreport(object):
         self.subject = subject
         # try to convert followup to int (if it's not already), TypeError if
         # the conversion is impossible
-        if not isinstance(followup, int):
+        if followup and not isinstance(followup, int):
             try:
                 self.followup = int(followup)
             except TypeError:

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list