From: Chris Lamb Date: Fri, 30 Oct 2009 13:07:37 +0000 (+0000) Subject: Fix handling of invalid Maintainer field. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc31223366469ab74a61d09fd30acd58cc9c11e;p=dak Fix handling of invalid Maintainer field. Signed-off-by: Chris Lamb --- diff --git a/daklib/queue.py b/daklib/queue.py index cc1e855a..593f0fe4 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -408,7 +408,7 @@ class Upload(object): fix_maintainer (self.pkg.changes["maintainer"]) except ParseMaintError, msg: self.rejects.append("%s: Maintainer field ('%s') failed to parse: %s" \ - % (filename, changes["maintainer"], msg)) + % (filename, self.pkg.changes["maintainer"], msg)) # ...likewise for the Changed-By: field if it exists. try: