]> git.ipfire.org Git - pakfire.git/commitdiff
The location of the db has changed. Changing hack too.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Mar 2012 18:15:18 +0000 (20:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Mar 2012 18:15:18 +0000 (20:15 +0200)
python/pakfire/actions.py

index 1e37f6069743d86c684211862212059d2de14bb2..d1e1fba2fe7307b65553a874c45e72b050ce7fab 100644 (file)
@@ -326,7 +326,7 @@ class ActionRemove(Action):
                Action.__init__(self, *args, **kwargs)
 
                # XXX This is ugly, but works for the moment.
-               self.pkg = self.local.index.db.get_package_from_solv(self.pkg_solv)
+               self.pkg = self.local.db.get_package_from_solv(self.pkg_solv)
                assert self.pkg
 
        def check(self, check):