'match_from_list,match_to_list',
'portage.dep.dep_check:dep_check,dep_eval,dep_wordreduce,dep_zapdeps',
'portage.eclass_cache',
- 'portage.env.loaders',
'portage.exception',
'portage.getbinpkg',
'portage.locks',
from commands import getstatusoutput as subprocess_getstatusoutput
import portage
+from portage.env.loaders import KeyValuePairFileLoader
from portage.localization import _
RCS_BRANCH = '1.1.1'
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:
_module_re = re.compile(r'^(portage|repoman|_emerge)\.')
_baseline_imports = frozenset([
- 'portage.const', 'portage.env', 'portage.localization',
+ 'portage.const', 'portage.localization',
'portage.proxy', 'portage.proxy.lazyimport',
'portage.proxy.objectproxy', 'portage._ensure_encodings',
])