]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/rm.py
daklib/rm: Use strings and not RowProxy as key
[dak.git] / daklib / rm.py
index 7dda5239c633433c594affc897eac0baf5ab695f..ac966198deee4b2a553b71f34d24da6df060b43e 100644 (file)
 
 ################################################################################
 
-# TODO: Insert "random dak quote" here
+# From: Andrew Morton <akpm@osdl.org>
+# Subject: 2.6.6-mm5
+# To: linux-kernel@vger.kernel.org
+# Date: Sat, 22 May 2004 01:36:36 -0700
+# X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu)
+#
+# [...]
+#
+# Although this feature has been around for a while it is new code, and the
+# usual cautions apply.  If it munches all your files please tell Jens and
+# he'll type them in again for you.
 
 ################################################################################
 
@@ -383,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)