summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index affa6bc49..94ec37e8a 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2610,7 +2610,8 @@ def load_emerge_config(trees=None):
return settings, trees, mtimedb
def chk_updated_cfg_files(target_root, config_protect):
- result = portage.util.get_updated_config_files(target_root, config_protect)
+ result = list(
+ portage.util.find_updated_config_files(target_root, config_protect))
for x in result:
print "\n"+colorize("WARN", " * IMPORTANT:"),
@@ -2619,7 +2620,7 @@ def chk_updated_cfg_files(target_root, config_protect):
else: # it's a protected dir
print "%d config files in '%s' need updating." % (len(x[1]), x[0])
- if result != []:
+ if result:
print " "+yellow("*")+" See the "+colorize("INFORM","CONFIGURATION FILES")\
+ " section of the " + bold("emerge")
print " "+yellow("*")+" man page to learn how to update config files."