]> git.decadent.org.uk Git - dak.git/commitdiff
Merge myons fubar fix
authorJoerg Jaspert <joerg@debian.org>
Sat, 9 Feb 2008 20:34:21 +0000 (21:34 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 9 Feb 2008 20:34:21 +0000 (21:34 +0100)
ChangeLog
daklib/queue.py

index 79a893b37b37fa98fb6524b185fca446ab8f4616..f86099a6ce8ef5f5176f7626ad5722f2154b80ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-09  Christoph Berg <myon@debian.org>
+
+       * daklib/queue.py (get_type): fubar does not exist in global
+       namespace.
+
 2008-02-06  Joerg Jaspert  <joerg@debian.org>
 
        * daklib/utils.py (check_signature): Make variable key available,
index 05cd0be0a2d142f4c74d7552512e21defdcb6a6d..9fac0cc00b2053e3deb63b7778adff9da48242b3 100755 (executable)
@@ -106,12 +106,12 @@ def get_type(f):
     elif f["type"] in [ "orig.tar.gz", "orig.tar.bz2", "tar.gz", "tar.bz2", "diff.gz", "diff.bz2", "dsc" ]:
         type = "dsc"
     else:
-        fubar("invalid type (%s) for new.  Dazed, confused and sure as heck not continuing." % (type))
+        utils.fubar("invalid type (%s) for new.  Dazed, confused and sure as heck not continuing." % (type))
 
     # Validate the override type
     type_id = database.get_override_type_id(type)
     if type_id == -1:
-        fubar("invalid type (%s) for new.  Say wha?" % (type))
+        utils.fubar("invalid type (%s) for new.  Say wha?" % (type))
 
     return type