From b6e43552835c49bdbaac1e4174596e01f690b7f5 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 18 Sep 2012 23:31:26 +0200 Subject: [PATCH] daklib/checks.py: only use source.filename if source is not None --- daklib/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5