Signed-off-by: Chris Lamb <lamby@debian.org>
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 = []
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()