From: Ansgar Burchardt Date: Tue, 18 Sep 2012 21:31:26 +0000 (+0200) Subject: daklib/checks.py: only use source.filename if source is not None X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e43552835c49bdbaac1e4174596e01f690b7f5;p=dak daklib/checks.py: only use source.filename if source is not None --- diff --git a/daklib/checks.py b/daklib/checks.py index f073d52f..63ea10f2 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -174,8 +174,8 @@ class HashesCheck(Check): for f in changes.files.itervalues(): f.check(upload.directory) source = changes.source - what = source.filename if source is not None: + what = source.filename for f in source.files.itervalues(): f.check(upload.directory) except IOError as e: