From: Ansgar Burchardt Date: Tue, 22 Jan 2013 17:54:32 +0000 (+0100) Subject: daklib/archive.py: Use correct variable for the rejected suite. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5ff3d925d103216cfba544140ec8fc89de4a12c3;p=dak.git daklib/archive.py: Use correct variable for the rejected suite. --- diff --git a/daklib/archive.py b/daklib/archive.py index 6d3d334e..3a9fd5d3 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -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