]> err.no Git - dak/commitdiff
queue.py: fix more error handling code
authorTorsten Werner <twerner@debian.org>
Sun, 1 Aug 2010 14:37:15 +0000 (14:37 +0000)
committerTorsten Werner <twerner@debian.org>
Sun, 1 Aug 2010 14:37:15 +0000 (14:37 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/queue.py

index 0fe175f80de54f0eabcc61b0d7231aaac36618af..8d814e86c077828c2e7187f3de2e04416cb1d47a 100755 (executable)
@@ -78,6 +78,7 @@ def get_type(f, session):
     elif re_source_ext.match(f["type"]):
         file_type = "dsc"
     else:
+        file_type = f["type"]
         utils.fubar("invalid type (%s) for new.  Dazed, confused and sure as heck not continuing." % (file_type))
 
     # Validate the override type