use EROOT with NEWS_LIB_PATH
authorFabian Groffen <grobian@gentoo.org>
Sat, 4 Sep 2010 18:24:43 +0000 (20:24 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sat, 4 Sep 2010 18:24:43 +0000 (20:24 +0200)
pym/_emerge/actions.py

index 5dc0cd5987faaacc6c640ff5d51dda240d5fc453..9e73d98a621889007659c2679fc9b6208fbd620d 100644 (file)
@@ -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