diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-31 09:54:14 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-31 09:54:14 -0700 |
commit | cd08c946dce4f9f5466597e92ce9df3b0ff197bd (patch) | |
tree | fb5d539974c1a708e86d06275c5a6320df1ca847 | |
parent | 9437c8071af071ebd753c4ed29ce53948dcb9b1e (diff) | |
download | portage-cd08c946dce4f9f5466597e92ce9df3b0ff197bd.tar.gz portage-cd08c946dce4f9f5466597e92ce9df3b0ff197bd.tar.bz2 portage-cd08c946dce4f9f5466597e92ce9df3b0ff197bd.zip |
Fix ResolverPlayground.cleanup() to cleanup the portdbapi instance.
-rw-r--r-- | pym/portage/tests/resolver/ResolverPlayground.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py index 854ac43eb..1983b9e6e 100644 --- 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: |