提交 67947694 编写于 作者: C Chris Lamb

Test that we have Dinstall::LintianTags before we symlink anything

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 17cc832b
......@@ -1209,6 +1209,11 @@ class Upload(object):
if not valid_dist:
return
tagfile = cnf.get("Dinstall::LintianTags")
if tagfile is None:
# We don't have a tagfile, so just don't do anything.
return
# Try and find all orig mentioned in the .dsc
target_dir = '.'
symlinked = []
......@@ -1276,10 +1281,6 @@ class Upload(object):
if symlink_if_valid(queuefile_path):
break
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.
先完成此消息的编辑!
想要评论请 注册