From 696ce2213fdb51f74353e70bba0c79bf672bc85f Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sun, 1 Aug 2010 13:48:18 +0000 Subject: [PATCH] queue.py: fix error handling code Signed-off-by: Torsten Werner --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5