diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-12-24 01:42:38 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-12-24 01:42:38 +0000 |
commit | fd034eb741ff31e48e4831b67d8e3c2fa32ce63e (patch) | |
tree | 4b48d84fda6f984a058f1f634ddea44969d4e2a9 | |
parent | a2207e0894aba212db0c81b774d3fccd888af972 (diff) | |
download | portage-fd034eb741ff31e48e4831b67d8e3c2fa32ce63e.tar.gz portage-fd034eb741ff31e48e4831b67d8e3c2fa32ce63e.tar.bz2 portage-fd034eb741ff31e48e4831b67d8e3c2fa32ce63e.zip |
Fix PATH comparison in binarytree.inject() some more.
svn path=/main/trunk/; revision=12295
-rw-r--r-- | pym/portage/dbapi/bintree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 87611bf06..9b6953b79 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -864,7 +864,7 @@ class binarytree(object): path = d.get("PATH", "") for i in xrange(len(pkgindex.packages) - 1, -1, -1): d2 = pkgindex.packages[i] - if path is not None and path == d2.get("PATH"): + if path and path == d2.get("PATH"): # Handle path collisions in $PKGDIR/All # when CPV is not identical. del pkgindex.packages[i] |