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

Sandro Tosi morph at debian.org
Wed Sep 2 21:12:48 UTC 2009


The following commit has been merged in the master branch:
commit 0394149ad040bf36ef7d9a12cf893a09bf2ce4e6
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Sep 2 19:25:02 2009 +0200

    release.d.o: minimal changes (esthetical)

diff --git a/bin/reportbug b/bin/reportbug
index e9b7515..265b5fd 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -448,7 +448,7 @@ def get_package_name(bts='debian', mode=MODE_EXPERT):
                 False):
                 return get_package_name(bts, mode)
 
-        if package == 'ftp.debian.org' or package == 'release.debian.org':
+        if package in ('ftp.debian.org', 'release.debian.org'):
             if not ui.yes_no(
                 'Are you sure you want to file a bug on %s?' % (package),
                 'Yes, I am a developer or know what I\'m doing.',
@@ -1767,7 +1767,7 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
 
         if (rtype == 'debbugs' and not self.options.tags and
             not (notatty or self.options.kudos or exinfo) and
-            package not in ('wnpp','ftp.debian.org','release.debian.org') and
+            package not in ('wnpp', 'ftp.debian.org', 'release.debian.org') and
             mode > MODE_NOVICE):
             # Multiple-choice checkbox
             if severity in ('grave', 'critical', 'serious'):

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list