From 25b7ccdf77eb39d59c48cf9b37ab32222a818522 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 20 Dec 2012 11:39:26 +0100 Subject: [PATCH] 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". --- daklib/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.""" -- 2.39.2