]> err.no Git - dak/commitdiff
daklib/archive.py: Use correct variable for the rejected suite.
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 22 Jan 2013 17:54:32 +0000 (18:54 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 22 Jan 2013 17:54:32 +0000 (18:54 +0100)
daklib/archive.py

index 6d3d334e8f1cf981a0b1997a39194db1c1057374..3a9fd5d3b0a6930b770958d642bb98c2173d1062 100644 (file)
@@ -718,7 +718,7 @@ class ArchiveUpload(object):
             elif rtype == "reject":
                 rejected = fields[1]
                 if suite_name == rejected:
-                    self.reject_reasons.append('Uploads to {0} are not accepted.'.format(suite))
+                    self.reject_reasons.append('Uploads to {0} are not accepted.'.format(rejected))
             ## XXX: propup-version and map-unreleased not yet implemented
         return suite_name