X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchecks.py;h=3a6c78244224cbfab2696d386a6bb4f01a7723fc;hb=25b7ccdf77eb39d59c48cf9b37ab32222a818522;hp=bfc8a17297d1f80b7c757ee74d4523e481d7b300;hpb=e6b1c633b7127f1d2ef938b7ea2181ce9e184906;p=dak.git 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."""