[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 1/5] process-upload: Dinstall::LintianTags may not be set



Handle the case when Dinstall::LintianTags is not set correctly.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
---
 daklib/queue.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/queue.py b/daklib/queue.py
index b4c62d3..57a07cb 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -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
-- 
1.7.2.5



Reply to: