summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-23 23:03:17 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-23 23:03:17 +0000
commit4c7c4aeb927d4ffc1c1f69cdf5220d64aad2a8ff (patch)
tree35a4b9f63aa36993c25a3ffc6b9dc632a9983d64
parent8fe1bab3fb14d0dbba976e4891974faca1e57b63 (diff)
downloadportage-4c7c4aeb927d4ffc1c1f69cdf5220d64aad2a8ff.tar.gz
portage-4c7c4aeb927d4ffc1c1f69cdf5220d64aad2a8ff.tar.bz2
portage-4c7c4aeb927d4ffc1c1f69cdf5220d64aad2a8ff.zip
Fix check_config_instance() weirdness when the ebuild command reloads the portage module.
svn path=/main/trunk/; revision=6982
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 56c711d13..1fe162bff 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -19,7 +19,7 @@ from portage.versions import pkgsplit, catpkgsplit, best
import portage.gpg, portage.checksum
from portage import eclass_cache, auxdbkeys, auxdbkeylen, doebuild, flatten, \
- listdir, dep_expand, eapi_is_supported, key_expand, dep_check, config
+ listdir, dep_expand, eapi_is_supported, key_expand, dep_check
import os, stat, sys
@@ -31,6 +31,7 @@ class portdbapi(dbapi):
def __init__(self, porttree_root, mysettings=None):
portdbapi.portdbapi_instances.append(self)
+ from portage import config
if mysettings:
self.mysettings = mysettings
else: