]> git.decadent.org.uk Git - dak.git/commitdiff
use the right variable names
authorMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 14:47:15 +0000 (14:47 +0000)
committerMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 14:47:15 +0000 (14:47 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/generate_releases.py

index 11e37807121181c892bca57ab40471fec5674969..d9db95d11259ccf690a10569330190fc70e71a6a 100755 (executable)
@@ -197,22 +197,22 @@ def main ():
 
     for suitename in suites:
         print "Processing: " + suitename
-        SuiteBlock = Cnf.SubTree("Suite::" + suite)
+        SuiteBlock = Cnf.SubTree("Suite::" + suitename)
         suiteobj = get_suite(suitename)
 
-        suite = suite.suite_name.lower()
+        suite = suiteobj.suite_name.lower()
 
-        if suite.untouchable and not Options["Force-Touch"]:
+        if suiteobj.untouchable and not Options["Force-Touch"]:
             print "Skipping: " + suite + " (untouchable)"
             continue
 
-        origin = suite.origin
-        label = suite.label or suite.origin
-        codename = suite.codename or ""
+        origin = suiteobj.origin
+        label = suiteobj.label or suiteobj.origin
+        codename = suiteobj.codename or ""
         version = ""
-        if suite.version and suite.version != '-':
-            version = suite.version
-        description = suite.description or ""
+        if suiteobj.version and suiteobj.version != '-':
+            version = suiteobj.version
+        description = suiteobj.description or ""
 
         architectures = get_suite_architectures(suite, skipall=True, skipsrc=True)