projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771b63d
)
fakedbapi.cp_list: remove obsolete virtual code
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Apr 2012 20:34:18 +0000
(13:34 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Apr 2012 20:34:18 +0000
(13:34 -0700)
This should have been included in commit
d30db49bcaecbdeb20f6d4e180979b60b6260f69
.
pym/portage/dbapi/virtual.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/virtual.py
b/pym/portage/dbapi/virtual.py
index 8a35d0ce90851c2d1cb4ad4470770bda8ef46054..84b6b9367340217699d56fb51934ab40b4e8f9b2 100644
(file)
--- a/
pym/portage/dbapi/virtual.py
+++ b/
pym/portage/dbapi/virtual.py
@@
-49,8
+49,7
@@
class fakedbapi(dbapi):
# match cache uses the result from dep_expand for the cache_key.
cache_key = (mycp, mycp)
cachelist = self._match_cache.get(cache_key)
- # cp_list() doesn't expand old-style virtuals
- if cachelist and cachelist[0].startswith(mycp):
+ if cachelist is not None:
return cachelist[:]
cpv_list = self.cpdict.get(mycp)
if cpv_list is None: