提交 8308743c 编写于 作者: M Mark Hymers

use the right variable names

Signed-off-by: NMark Hymers <mhy@debian.org>
上级 cd2b6a46
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册