summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7163dc5)
Instead of setting the source within a for loop, set it outside, so it
does what it is supposed to do, instead of accidentally working
because self has a source field set too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
changes = upload.changes
for f in changes.files.itervalues():
f.check(upload.directory)
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)
if source is not None:
for f in source.files.itervalues():
f.check(upload.directory)