From d0e97f0b0f1a35690a7bd789e70e04d5da616efd Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 31 May 2013 10:07:39 +0200 Subject: [PATCH] daklib/archive.py: extension is optional for byhand rules --- daklib/archive.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5