[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] queue.py: fix more error handling code



Signed-off-by: Torsten Werner <twerner@debian.org>
---
 daklib/queue.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/daklib/queue.py b/daklib/queue.py
index 0fe175f..8d814e8 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -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
-- 
1.5.6.5


Reply to: