summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: