From: Ansgar Burchardt Date: Tue, 28 Aug 2012 18:34:24 +0000 (+0200) Subject: daklib/archive.py: fix automatic byhand processing X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f7c134e0259c98423787ea620ed34ff1d0a58b31;p=dak.git daklib/archive.py: fix automatic byhand processing --- diff --git a/daklib/archive.py b/daklib/archive.py index aeca0a00..a55bfaba 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -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