summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-04 20:24:43 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-04 20:24:43 +0200
commit208e905b68118621ea74999c1e1b589e7a83d203 (patch)
treeed20e03e6b1cf8887fdbdc108cd4f34cf4e96a77
parentf35adc532e29903b05a57cf6967d581c658bbcbe (diff)
downloadportage-208e905b68118621ea74999c1e1b589e7a83d203.tar.gz
portage-208e905b68118621ea74999c1e1b589e7a83d203.tar.bz2
portage-208e905b68118621ea74999c1e1b589e7a83d203.zip
use EROOT with NEWS_LIB_PATH
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 5dc0cd598..9e73d98a6 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2813,7 +2813,7 @@ def chk_updated_cfg_files(target_root, config_protect):
print(" "+yellow("*")+" man page to learn how to update config files.")
def display_news_notification(root_config, myopts):
- target_root = root_config.root
+ target_root = root_config.settings['EROOT']
trees = root_config.trees
settings = trees["vartree"].settings
portdb = trees["porttree"].dbapi