daklib/checks.py: name of local variable changed: what -> filename

When moving the hash validation in e6b1c633
one occurrence of "what" was not changed to "filename".
上级 e6b1c633
......@@ -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."""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册