]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/archive.py: fix autobyhand for binNMUs
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 26 Sep 2012 19:41:40 +0000 (21:41 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 26 Sep 2012 19:41:40 +0000 (21:41 +0200)
daklib/archive.py

index ae8516ff7250339cf9fb49adacf74b6fdb99d3cd..6aeeac4b1c5764bac3582576668994989e633aee 100644 (file)
@@ -1054,7 +1054,7 @@ class ArchiveUpload(object):
                 remaining.append(f)
                 continue
 
-            if rule['Source'] != control['Source'] or rule['Section'] != f.section or rule['Extension'] != ext:
+            if rule['Source'] != self.changes.source_name or rule['Section'] != f.section or rule['Extension'] != ext:
                 remaining.append(f)
                 continue