projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9741c4
)
Fix FakeVartree._pkg() to cache package instances in self._pkg_cache,
author
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Sep 2010 06:51:05 +0000
(23:51 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 6 Sep 2010 06:51:05 +0000
(23:51 -0700)
for use by depgraph.
pym/_emerge/FakeVartree.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/FakeVartree.py
b/pym/_emerge/FakeVartree.py
index 5a962c57d6be18c28a50327f84cc86ada491dd7e..3d07af412d68d1e6954caa9b8362b7c0f52ca1e7 100644
(file)
--- a/
pym/_emerge/FakeVartree.py
+++ b/
pym/_emerge/FakeVartree.py
@@
-188,6
+188,7
@@
class FakeVartree(vartree):
mycounter = 0
pkg.metadata["COUNTER"] = str(mycounter)
+ self._pkg_cache[pkg] = pkg
return pkg
def grab_global_updates(portdb):