[dak/master] daklib/checks.py: only use source.filename if source is not None
---
daklib/checks.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/checks.py b/daklib/checks.py
index f073d52..63ea10f 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:
--
1.7.2.5
Reply to: