revert -r9893:9894, zmedico checked in a correct fix
authorFabian Groffen <grobian@gentoo.org>
Tue, 15 Apr 2008 18:12:42 +0000 (18:12 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 15 Apr 2008 18:12:42 +0000 (18:12 -0000)
svn path=/main/branches/prefix/; revision=9908

pym/portage/dbapi/vartree.py

index adf0c0a01c093f3d02233367a19e9b11339635b2..26946822494beac992ddd85e4b1d838e1a51e765 100644 (file)
@@ -82,8 +82,6 @@ class PreservedLibsRegistry(object):
                """
                cp = "/".join(catpkgsplit(cpv)[:2])
                cps = cp+":"+slot
-               if counter == "":
-                       counter = "0"
                if len(paths) == 0 and self._data.has_key(cps) \
                                and self._data[cps][0] == cpv and int(self._data[cps][1]) == int(counter):
                        del self._data[cps]