From 5ff3d925d103216cfba544140ec8fc89de4a12c3 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 22 Jan 2013 18:54:32 +0100 Subject: [PATCH] daklib/archive.py: Use correct variable for the rejected suite. --- daklib/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5