From 723500bd942bd4f98df752a507ab494f6fb97faf Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Tue, 26 Mar 2013 15:40:58 +0100 Subject: Modify the ROOT_PATH properly --- initial_setup/__main__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'initial_setup') diff --git a/initial_setup/__main__.py b/initial_setup/__main__.py index c2ea58d..d240758 100644 --- a/initial_setup/__main__.py +++ b/initial_setup/__main__.py @@ -17,8 +17,11 @@ if mode == "gui": # set the root path to / so the imported spokes # know where to apply their changes -from pyanaconda.constants import ROOT_PATH -ROOT_PATH = "/" +from pyanaconda import constants + +# this has to stay in the form constants.ROOT_PATH so it modifies +# the scalar in anaconda, not the local copy here +constants.ROOT_PATH = "/" from pyanaconda.addons import collect_addon_paths -- cgit