From ce324ffde27b192a8e713b6e98368a3b00edaf27 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 19:52:54 +0000 Subject: [PATCH] lintian YAML has a "lintian" root element. Signed-off-by: Chris Lamb --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/queue.py b/daklib/queue.py index 2d371e8d..35b85a7d 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 -- 2.39.2