]> err.no Git - dak/commitdiff
daklib/archive.py: fix automatic byhand processing
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 28 Aug 2012 18:34:24 +0000 (20:34 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 28 Aug 2012 18:34:24 +0000 (20:34 +0200)
daklib/archive.py

index aeca0a006e2a9b33a0db2e002443501ee6560212..a55bfaba6f17aace3da4bb745691e96c937ff58c 100644 (file)
@@ -1023,8 +1023,9 @@ class ArchiveUpload(object):
             package, version, archext = parts
             arch, ext = archext.split('.', 1)
 
-            rule = automatic_byhand_packages.get(package)
-            if rule is None:
+            try:
+                rule = automatic_byhand_packages.subtree(package)
+            except KeyError:
                 remaining.append(f)
                 continue