From: Zac Medico Date: Tue, 2 Mar 2010 20:03:23 +0000 (-0000) Subject: Fix @module-rebuild to support $ROOT. (trunk r15308) X-Git-Tag: v2.1.8~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73f0ee9047160afb5dafd99f062fa58f6b4bfbbc;p=portage.git Fix @module-rebuild to support $ROOT. (trunk r15308) svn path=/main/branches/2.1.7/; revision=15543 --- diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py index 95a4be16d..73adafd3e 100644 --- a/pym/portage/_sets/__init__.py +++ b/pym/portage/_sets/__init__.py @@ -34,8 +34,10 @@ class SetConfigError(Exception): class SetConfig(object): def __init__(self, paths, settings, trees): - self._parser = SafeConfigParser( - defaults={"PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"]}) + defaults={ + "PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"], + "ROOT" : settings["ROOT"], + }) #self._parser.read(paths) # The "paths" argument is ignored and the config for # system and world sets is hardcoded below.