From: Torsten Werner Date: Fri, 25 Mar 2011 09:36:24 +0000 (+0100) Subject: Ignore missing source file in process-new. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ff008f8db866172d086f89691d90fb7b83e0bd;p=dak Ignore missing source file in process-new. Signed-off-by: Torsten Werner --- diff --git a/daklib/queue.py b/daklib/queue.py index 0d9ca5e1..4ea117b3 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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))