[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/checks.py b/daklib/checks.py
index bfc8a17..3a6c782 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."""
-- 
1.7.2.5


Reply to: