From: Ansgar Burchardt Date: Thu, 20 Dec 2012 10:39:26 +0000 (+0100) Subject: daklib/checks.py: name of local variable changed: what -> filename X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=25b7ccdf77eb39d59c48cf9b37ab32222a818522;p=dak.git daklib/checks.py: name of local variable changed: what -> filename When moving the hash validation in e6b1c633b7127f1d2ef938b7ea2181ce9e184906 one occurrence of "what" was not changed to "filename". --- diff --git a/daklib/checks.py b/daklib/checks.py index bfc8a172..3a6c7824 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -147,7 +147,7 @@ class SignatureAndHashesCheck(Check): .format(filename, os.path.basename(e.filename))) raise except InvalidHashException as e: - raise Reject('{0}: {1}'.format(what, unicode(e))) + raise Reject('{0}: {1}'.format(filename, unicode(e))) class ChangesCheck(Check): """Check changes file for syntax errors."""