projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62cd1f
)
daklib/checks.py: only use source.filename if source is not None
author
Ansgar Burchardt
<ansgar@debian.org>
Tue, 18 Sep 2012 21:31:26 +0000
(23:31 +0200)
committer
Ansgar Burchardt
<ansgar@debian.org>
Tue, 18 Sep 2012 21:31:26 +0000
(23:31 +0200)
daklib/checks.py
patch
|
blob
|
history
diff --git
a/daklib/checks.py
b/daklib/checks.py
index f073d52fa43bc3d785667b7f15ce355ffd5941f5..63ea10f2a8ee01d2aa8bf5c3646741bebf6ebf79 100644
(file)
--- 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: