提交 e0d46646 编写于 作者: J Joerg Jaspert

Dont do work without a tagfile

Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 540d2558
......@@ -1208,7 +1208,10 @@ class Upload(object):
return
cnf = Config()
tagfile = cnf["Dinstall::LintianTags"]
tagfile = cnf.get("Dinstall::LintianTags")
if tagfile is None:
# We don't have a tagfile, so just don't do anything.
return
# Parse the yaml file
sourcefile = file(tagfile, 'r')
sourcecontent = sourcefile.read()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册