Another correctness fix in BlockerDB.findInstalledBlockers().
authorZac Medico <zmedico@gentoo.org>
Sat, 27 Sep 2008 22:16:26 +0000 (22:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 27 Sep 2008 22:16:26 +0000 (22:16 -0000)
svn path=/main/trunk/; revision=11576

pym/_emerge/__init__.py

index 519a1fdc27a07565e5a964f090f0e4436974871f..09a92f23a9c0d4a35cd7a59d4ca96429e05101aa 100644 (file)
@@ -3862,7 +3862,7 @@ class BlockerDB(object):
                blocker_atoms = []
                for pkg in installed_pkgs:
                        for blocker_atom in blocker_cache[pkg.cpv].atoms:
-                               blocker_atom = blocker_atom[1:]
+                               blocker_atom = blocker_atom.lstrip("!")
                                blocker_atoms.append(blocker_atom)
                                blocker_parents.add(blocker_atom, pkg)