提交 8948203b 编写于 作者: C Chris Lamb

Tidy check_lintian's 'log' closure

Thanks Enrico for calling it out.
Signed-off-by: NChris Lamb <lamby@debian.org>
上级 efce802a
......@@ -1254,9 +1254,7 @@ class Upload(object):
def log(*txt):
if self.logger:
args = [self.pkg.changes_file, "check_lintian"]
args.extend(txt)
self.logger.log(args)
self.logger.log([self.pkg.changes_file, "check_lintian"] + list(txt))
# We have output of lintian, this package isn't clean. Lets parse it and see if we
# are having a victim for a reject.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册