summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-27 14:39:39 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-27 14:39:39 -0700
commit62e88e3e97a3518bf46e78593d631b711e990555 (patch)
tree82eb02c24743a7df5d853926ded35b00660f13f5
parente978a8ffdda4e278b96e260a0a2ead8ca1c14e64 (diff)
downloadportage-62e88e3e97a3518bf46e78593d631b711e990555.tar.gz
portage-62e88e3e97a3518bf46e78593d631b711e990555.tar.bz2
portage-62e88e3e97a3518bf46e78593d631b711e990555.zip
Fix the config constructor to pass missing parameters to the
LocationsManager constructor.
-rw-r--r--pym/portage/package/ebuild/config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index ac217bb94..72a7b65e7 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -274,8 +274,9 @@ class config(object):
self._expand_map = copy.deepcopy(clone._expand_map)
else:
- locations_manager = LocationsManager(eprefix=eprefix, config_profile_path=config_profile_path, \
- local_config=local_config)
+ locations_manager = LocationsManager(config_root=config_root,
+ config_profile_path=config_profile_path, eprefix=eprefix,
+ local_config=local_config, target_root=target_root)
eprefix = locations_manager.eprefix
config_root = locations_manager.config_root