]> git.decadent.org.uk Git - dak.git/commitdiff
process-upload: Dinstall::LintianTags may not be set
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 24 Mar 2011 08:28:19 +0000 (08:28 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 24 Mar 2011 08:28:19 +0000 (08:28 +0000)
Handle the case when Dinstall::LintianTags is not set correctly.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/queue.py

index b4c62d38a204ded115d6bd7738e1913ffe02438a..57a07cb2f80ba887f4ecac1b2f8263f8a5626a65 100755 (executable)
@@ -1495,7 +1495,7 @@ class Upload(object):
 
         # If we do not have a tagfile, don't do anything
         tagfile = cnf.get("Dinstall::LintianTags")
-        if tagfile is None:
+        if not tagfile:
             return
 
         # Parse the yaml file