[dak/master] queue.py: fix error handling code
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/queue.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/queue.py b/daklib/queue.py
index 165b708..0fe175f 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
--
1.5.6.5
Reply to: