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

[dak/master 11/16] lintian YAML has a "lintian" root element.



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

diff --git a/daklib/queue.py b/daklib/queue.py
index 2d371e8..35b85a7 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -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
-- 
1.6.3.3



Reply to: