From b5b60f20b08f960620255f1d14f0cd97681e0622 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 13:12:33 +0000 Subject: [PATCH] Fix uid references in DM upload error codepaths. Signed-off-by: Chris Lamb --- daklib/queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/queue.py b/daklib/queue.py index b38b4b23..aeafb458 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1565,10 +1565,10 @@ class Upload(object): rej = False for f in self.pkg.files.keys(): if self.pkg.files[f].has_key("byhand"): - self.rejects.append("%s may not upload BYHAND file %s" % (uid, f)) + self.rejects.append("%s may not upload BYHAND file %s" % (fpr.uid.uid, f)) rej = True if self.pkg.files[f].has_key("new"): - self.rejects.append("%s may not upload NEW file %s" % (uid, f)) + self.rejects.append("%s may not upload NEW file %s" % (fpr.uid.uid, f)) rej = True if rej: -- 2.39.5