]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
lintian YAML has a "lintian" root element.
[dak.git] / daklib / queue.py
index 2d371e8d8b77deecd6a47f5202b6dadefe2ea596..35b85a7de7c61a3d044bf3c59303eddd19682c08 100755 (executable)
@@ -1216,7 +1216,7 @@ class Upload(object):
         sourcecontent = sourcefile.read()
         sourcefile.close()
         try:
-            lintiantags = yaml.load(sourcecontent)
+            lintiantags = yaml.load(sourcecontent)['lintian']
         except yaml.YAMLError, msg:
             utils.fubar("Can not read the lintian tags file %s, YAML error: %s." % (tagfile, msg))
             return