From f7c134e0259c98423787ea620ed34ff1d0a58b31 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 28 Aug 2012 20:34:24 +0200 Subject: [PATCH] daklib/archive.py: fix automatic byhand processing --- daklib/archive.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5