projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1297e2e
)
daklib/archive.py: extension is optional for byhand rules
author
Ansgar Burchardt
<ansgar@debian.org>
Fri, 31 May 2013 08:07:39 +0000
(10:07 +0200)
committer
Ansgar Burchardt
<ansgar@debian.org>
Fri, 31 May 2013 08:07:39 +0000
(10:07 +0200)
daklib/archive.py
patch
|
blob
|
history
diff --git
a/daklib/archive.py
b/daklib/archive.py
index ecd5932494d14a88ea761a094bbb37ff6e613acd..81719a8731871ef2a4e24903328f518d80774f57 100644
(file)
--- a/
daklib/archive.py
+++ b/
daklib/archive.py
@@
-1076,7
+1076,9
@@
class ArchiveUpload(object):
remaining.append(f)
continue
- if rule['Source'] != self.changes.source_name or rule['Section'] != f.section or rule['Extension'] != ext:
+ if rule['Source'] != self.changes.source_name \
+ or rule['Section'] != f.section \
+ or ('Extension' in rule and rule['Extension'] != ext):
remaining.append(f)
continue