]> git.decadent.org.uk Git - dak.git/commitdiff
Fix handling of invalid Maintainer field.
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 13:07:37 +0000 (13:07 +0000)
committerChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:29:57 +0000 (14:29 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index cc1e855ad307a74a1e13b62733fd25f059bfe67b..593f0fe46e06deef9ad8b7bd7aba6e096ac071eb 100755 (executable)
@@ -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: