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

Sandro Tosi morph at debian.org
Sun Nov 6 00:24:56 UTC 2011


The following commit has been merged in the master branch:
commit 779555f9496c0b395b9129cc5f788ae18660acb0
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Nov 6 01:16:47 2011 +0100

    added 'oldstable' and 'experimental' to the suites for version checking

diff --git a/reportbug/checkversions.py b/reportbug/checkversions.py
index 1fd4e83..7da73ad 100644
--- a/reportbug/checkversions.py
+++ b/reportbug/checkversions.py
@@ -102,7 +102,7 @@ def later_version(a, b):
 
 def get_versions_available(package, timeout, dists=None, http_proxy=None, arch='i386'):
     if not dists:
-        dists = ('stable', 'testing', 'unstable')
+        dists = ('oldstable', 'stable', 'testing', 'unstable', 'experimental')
 
     try:
         page = open_url(RMADISON_URL % package)
diff --git a/reportbug/utils.py b/reportbug/utils.py
index 87b3122..7d526cb 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -88,9 +88,11 @@ fhs_directories = ['/', '/usr', '/usr/share', '/var', '/usr/X11R6',
                    '/usr/man', '/usr/doc', '/usr/bin']
 
 # A map between suites and distributions names
-SUITES2DISTS = {'squeeze': 'stable',
+SUITES2DISTS = {'lenny': 'oldstable',
+                'squeeze': 'stable',
                 'wheezy': 'testing',
-                'sid': 'unstable'}
+                'sid': 'unstable',
+                'experimental': 'experimental'}
 
 def realpath(filename):
     filename = os.path.abspath(filename)

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list