提交 20ff008f 编写于 作者: T Torsten Werner

Ignore missing source file in process-new.

Signed-off-by: NTorsten Werner <twerner@debian.org>
上级 487dcc16
......@@ -87,6 +87,9 @@ def get_type(f, session):
file_type = f["dbtype"]
elif re_source_ext.match(f["type"]):
file_type = "dsc"
elif f['architecture'] == 'source' and f["type"] == 'unreadable':
utils.warn('unreadable source file (will continue and hope for the best)')
return f["type"]
else:
file_type = f["type"]
utils.fubar("invalid type (%s) for new. Dazed, confused and sure as heck not continuing." % (file_type))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册