From: Chris Lamb Date: Fri, 30 Oct 2009 13:12:33 +0000 (+0000) Subject: Fix uid references in DM upload error codepaths. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b60f20b08f960620255f1d14f0cd97681e0622;p=dak Fix uid references in DM upload error codepaths. Signed-off-by: Chris Lamb --- 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: