From: Torsten Werner Date: Sun, 1 Aug 2010 13:48:18 +0000 (+0000) Subject: queue.py: fix error handling code X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=696ce2213fdb51f74353e70bba0c79bf672bc85f;p=dak queue.py: fix error handling code Signed-off-by: Torsten Werner --- diff --git a/daklib/queue.py b/daklib/queue.py index 165b7088..0fe175f8 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -775,7 +775,7 @@ class Upload(object): location = cnf["Dir::Pool"] l = get_location(location, entry["component"], session=session) if l is None: - self.rejects.append("[INTERNAL ERROR] couldn't determine location (Component: %)" % entry["component"]) + self.rejects.append("[INTERNAL ERROR] couldn't determine location (Component: %s)" % entry["component"]) entry["location id"] = -1 else: entry["location id"] = l.location_id