]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote branch 'twerner/process-upload' into merge
authorJoerg Jaspert <joerg@debian.org>
Mon, 2 Aug 2010 11:30:36 +0000 (13:30 +0200)
committerJoerg Jaspert <joerg@debian.org>
Mon, 2 Aug 2010 11:30:36 +0000 (13:30 +0200)
* twerner/process-upload:
  queue.py: fix more error handling code

Signed-off-by: Joerg Jaspert <joerg@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