From: Chris Lamb Date: Tue, 27 Oct 2009 19:52:54 +0000 (+0000) Subject: lintian YAML has a "lintian" root element. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce324ffde27b192a8e713b6e98368a3b00edaf27;p=dak lintian YAML has a "lintian" root element. Signed-off-by: Chris Lamb --- 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