]> err.no Git - dak/commitdiff
daklib/checks.py: name of local variable changed: what -> filename
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Dec 2012 10:39:26 +0000 (11:39 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 20 Dec 2012 10:39:26 +0000 (11:39 +0100)
When moving the hash validation in e6b1c633b7127f1d2ef938b7ea2181ce9e184906
one occurrence of "what" was not changed to "filename".

daklib/checks.py

index bfc8a17297d1f80b7c757ee74d4523e481d7b300..3a6c78244224cbfab2696d386a6bb4f01a7723fc 100644 (file)
@@ -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."""