]> err.no Git - dak/commitdiff
queue.py: fix error handling code
authorTorsten Werner <twerner@debian.org>
Sun, 1 Aug 2010 13:48:18 +0000 (13:48 +0000)
committerTorsten Werner <twerner@debian.org>
Sun, 1 Aug 2010 13:48:18 +0000 (13:48 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/queue.py

index 165b7088e2c01a4c762d856c1e0e846427f1147b..0fe175f80de54f0eabcc61b0d7231aaac36618af 100755 (executable)
@@ -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