X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Farchive.py;h=81719a8731871ef2a4e24903328f518d80774f57;hb=d0e97f0b0f1a35690a7bd789e70e04d5da616efd;hp=ecd5932494d14a88ea761a094bbb37ff6e613acd;hpb=f82de9f5e2c603f4443af5a663c3649350a18e43;p=dak.git diff --git a/daklib/archive.py b/daklib/archive.py index ecd59324..81719a87 100644 --- 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