projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9437c80
)
Fix ResolverPlayground.cleanup() to cleanup the portdbapi instance.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 31 Aug 2010 16:54:14 +0000
(09:54 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 31 Aug 2010 16:54:14 +0000
(09:54 -0700)
pym/portage/tests/resolver/ResolverPlayground.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/resolver/ResolverPlayground.py
b/pym/portage/tests/resolver/ResolverPlayground.py
index 854ac43eb7f5c57bfab99153697683f33e1125d7..1983b9e6e4350d97f2bc17dfc5cbce50356f45f3 100644
(file)
--- a/
pym/portage/tests/resolver/ResolverPlayground.py
+++ b/
pym/portage/tests/resolver/ResolverPlayground.py
@@
-333,6
+333,9
@@
class ResolverPlayground(object):
return
def cleanup(self):
+ portdb = self.trees[self.root]["porttree"].dbapi
+ portdb.close_caches()
+ portage.dbapi.porttree.portdbapi.portdbapi_instances.remove(portdb)
if self.debug:
print("\nEROOT=%s" % self.eroot)
else: