From: Niels Thykier Date: Thu, 11 Jun 2015 12:43:30 +0000 (+0200) Subject: daklib/rm: Use strings and not RowProxy as key X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b16f222f77203d0860a7745fd3c39b24fe870a99;p=dak.git daklib/rm: Use strings and not RowProxy as key Signed-off-by: Niels Thykier --- 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)