summaryrefslogtreecommitdiffstats
path: root/pym/portage/package/ebuild/config.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-10 13:46:58 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-10 13:46:58 -0800
commit1a6c6c29d1046f56c7661fb5f970597554349838 (patch)
tree1b26bc918ae8d59345ca78fc5e6eca21e8cf0188 /pym/portage/package/ebuild/config.py
parent495c0ce534af794456a0a21f213f8f996bce0186 (diff)
downloadportage-1a6c6c29d1046f56c7661fb5f970597554349838.tar.gz
portage-1a6c6c29d1046f56c7661fb5f970597554349838.tar.bz2
portage-1a6c6c29d1046f56c7661fb5f970597554349838.zip
Make eprefix=None params map to const.EPREFIX
Diffstat (limited to 'pym/portage/package/ebuild/config.py')
-rw-r--r--pym/portage/package/ebuild/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 9bb26cad0..a8ec3c47f 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -143,7 +143,7 @@ class config(object):
def __init__(self, clone=None, mycpv=None, config_profile_path=None,
config_incrementals=None, config_root=None, target_root=None,
- eprefix=portage.const.EPREFIX, local_config=True, env=None,
+ eprefix=None, local_config=True, env=None,
_unmatched_removal=False):
"""
@param clone: If provided, init will use deepcopy to copy by value the instance.
@@ -160,7 +160,7 @@ class config(object):
@type config_root: String
@param target_root: __init__ override of $ROOT env variable.
@type target_root: String
- @param eprefix: set the EPREFIX variable
+ @param eprefix: set the EPREFIX variable (default is portage.const.EPREFIX)
@type eprefix: String
@param local_config: Enables loading of local config (/etc/portage); used most by repoman to
ignore local config (keywording and unmasking)