From: Mark Hymers Date: Mon, 26 Oct 2009 14:47:15 +0000 (+0000) Subject: use the right variable names X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8308743cf5817d5517bc85b2b328ba0a1ee102e5;p=dak use the right variable names Signed-off-by: Mark Hymers --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 11e37807..d9db95d1 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -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)