From b16f222f77203d0860a7745fd3c39b24fe870a99 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Thu, 11 Jun 2015 14:43:30 +0200 Subject: [PATCH] daklib/rm: Use strings and not RowProxy as key Signed-off-by: Niels Thykier --- daklib/rm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/rm.py b/daklib/rm.py index b4793255..ac966198 100644 --- a/daklib/rm.py +++ b/daklib/rm.py @@ -393,7 +393,7 @@ def remove(session, reason, suites, removals, if architecture not in d[package][version]: d[package][version].append(architecture) - for package in sorted(removals): + for package in sorted(d): versions = sorted(d[package], cmp=apt_pkg.version_compare) for version in versions: d[package][version].sort(utils.arch_compare_sw) -- 2.39.5