提交 ce324ffd 编写于 作者: C Chris Lamb

lintian YAML has a "lintian" root element.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 eeee01f3
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册