From: Joerg Jaspert Date: Mon, 17 Sep 2012 13:18:30 +0000 (+0200) Subject: Merge remote-tracking branch 'algernon/f/external_files' into merge X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9fe8081db5676a207fbbc1a5505fcb145e160eb5;hp=-c;p=dak.git Merge remote-tracking branch 'algernon/f/external_files' into merge * algernon/f/external_files: checks: Fix a syntax error in ExternalHashCheck Signed-off-by: Joerg Jaspert --- 9fe8081db5676a207fbbc1a5505fcb145e160eb5 diff --combined daklib/checks.py index 793bc681,e7afda55..2e76e783 --- a/daklib/checks.py +++ b/daklib/checks.py @@@ -168,7 -168,7 +168,7 @@@ class HashesCheck(Check) changes = upload.changes for f in changes.files.itervalues(): f.check(upload.directory) - source = changes.source + source = changes.source if source is not None: for f in source.files.itervalues(): f.check(upload.directory) @@@ -183,7 -183,7 +183,7 @@@ class ExternalHashesCheck(Check) return if ext_size != f.size: - raise RejectStupidMaintainerException(f.filename, 'size', f.size, ext_size)) + raise RejectStupidMaintainerException(f.filename, 'size', f.size, ext_size) if ext_md5sum != f.md5sum: raise RejectStupidMaintainerException(f.filename, 'md5sum', f.md5sum, ext_md5sum)