X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Frm.py;fp=daklib%2Frm.py;h=ac966198deee4b2a553b71f34d24da6df060b43e;hb=b16f222f77203d0860a7745fd3c39b24fe870a99;hp=b479325508847ca99b7820b683efda99405e4eaf;hpb=f2160bd397215ec04773ae2ba36c0de15bba385c;p=dak.git 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)