summaryrefslogtreecommitdiffstats
path: root/pym/portage/dispatch_conf.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-05 13:14:07 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-05 13:14:07 -0700
commit1a6c8a3c450fa8f4d8132c3d121272af7e256574 (patch)
tree194c8b81b629ae3fcf3491f80e58dcc852fbc1ab /pym/portage/dispatch_conf.py
parent3ea8bee8a4e69e55e5e33fe775ad08aa3d0f9c7a (diff)
downloadportage-1a6c8a3c450fa8f4d8132c3d121272af7e256574.tar.gz
portage-1a6c8a3c450fa8f4d8132c3d121272af7e256574.tar.bz2
portage-1a6c8a3c450fa8f4d8132c3d121272af7e256574.zip
Eliminate portage.env from baseline imports.
Diffstat (limited to 'pym/portage/dispatch_conf.py')
-rw-r--r--pym/portage/dispatch_conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dispatch_conf.py b/pym/portage/dispatch_conf.py
index c543afd33..e51e5cd13 100644
--- a/pym/portage/dispatch_conf.py
+++ b/pym/portage/dispatch_conf.py
@@ -15,6 +15,7 @@ except ImportError:
from commands import getstatusoutput as subprocess_getstatusoutput
import portage
+from portage.env.loaders import KeyValuePairFileLoader
from portage.localization import _
RCS_BRANCH = '1.1.1'
@@ -41,7 +42,7 @@ def diffstatusoutput_len(cmd):
return (1, 1)
def read_config(mandatory_opts):
- loader = portage.env.loaders.KeyValuePairFileLoader(
+ loader = KeyValuePairFileLoader(
'/etc/dispatch-conf.conf', None)
opts, errors = loader.load()
if not opts: