X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=4ea117b30883abaa2f04a3510e4dd3cdf08af03b;hb=bd6d098b3aeea59276364c2f7da865a56a24c4f1;hp=0d9ca5e1f66336dab2bdcbaca701c318a2e118a9;hpb=487dcc16a86c9aab0eb676a27e7b62dcbce43749;p=dak.git 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))