From: Christoph Berg Date: Sat, 9 Feb 2008 19:36:41 +0000 (+0100) Subject: fubar does not exist in global namespace X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b79abfd1bfcc209bc0153f946ea10d75937f4e52;p=dak fubar does not exist in global namespace --- diff --git a/daklib/queue.py b/daklib/queue.py index 05cd0be0..9fac0cc0 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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