Seth Vidal 35cc7aa
commit 50b01cf6329d00e09a8586527afd9b72466df506
Seth Vidal 35cc7aa
Author: Seth Vidal <skvidal@fedoraproject.org>
Seth Vidal 35cc7aa
Date:   Wed Feb 10 21:50:23 2010 -0500
Seth Vidal 35cc7aa
Seth Vidal 35cc7aa
    fix typo which makes all kernel updates die :(
Seth Vidal 35cc7aa
Seth Vidal 35cc7aa
diff --git a/yum/__init__.py b/yum/__init__.py
Seth Vidal 35cc7aa
index d0bd4cc..df952a8 100644
Seth Vidal 35cc7aa
--- a/yum/__init__.py
Seth Vidal 35cc7aa
+++ b/yum/__init__.py
Seth Vidal 35cc7aa
@@ -4101,7 +4101,7 @@ class YumBase(depsolve.Depsolve):
Seth Vidal 35cc7aa
                             numleft -= 1
Seth Vidal 35cc7aa
                         
Seth Vidal 35cc7aa
         for po,rel in toremove:
Seth Vidal 35cc7aa
-            txmbr = self.tsInfo.addErase(toremove)
Seth Vidal 35cc7aa
+            txmbr = self.tsInfo.addErase(po)
Seth Vidal 35cc7aa
             # Add a dep relation to the new version of the package, causing this one to be erased
Seth Vidal 35cc7aa
             # this way skipbroken, should clean out the old one, if the new one is skipped
Seth Vidal 35cc7aa
             txmbr.depends_on.append(rel)