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

If lintian returns 2 warn FTPMasters but try and continue anyway.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 c9803f46
......@@ -1240,10 +1240,9 @@ class Upload(object):
(result, output) = commands.getstatusoutput(command)
# We are done with lintian, remove our tempfile
os.unlink(temp_filename)
if (result != 0):
self.rejects.append("lintian failed for %s [return code: %s]." % (self.pkg.changes_file, result))
self.rejects.append(utils.prefix_multi_line_string(output, " [possible output:] "))
return
if (result == 2):
utils.warn("lintian failed for %s [return code: %s]." % (self.pkg.changes_file, result))
utils.warn(utils.prefix_multi_line_string(output, " [possible output:] "))
if len(output) == 0:
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册