summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-18 08:35:20 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-18 08:35:20 +0000
commit3b78404ee7fd220d0d079d581f93d83a5aef970e (patch)
tree0619c43f5cbcbe96e60b5c7c1662a9b5443c555b
parent97d9ee9570e9c9cb6f56bc7898d15417bd02bfc0 (diff)
downloadportage-3b78404ee7fd220d0d079d581f93d83a5aef970e.tar.gz
portage-3b78404ee7fd220d0d079d581f93d83a5aef970e.tar.bz2
portage-3b78404ee7fd220d0d079d581f93d83a5aef970e.zip
Warn aabout default world and system set configuration being used when
sets.conf is corrupt. Thanks to Thanks to Sebastian Mingramm (few) for the suggestion. svn path=/main/trunk/; revision=14666
-rw-r--r--pym/_emerge/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 535cb2ddd..ca2799589 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -904,6 +904,7 @@ def missing_sets_warning(root_config, missing_sets):
msg.append(" This usually means that '%s'" % \
(os.path.join(portage.const.GLOBAL_CONFIG_PATH, "sets.conf"),))
msg.append(" is missing or corrupt.")
+ msg.append(" Falling back to default world and system set configuration!!!")
for line in msg:
writemsg_level(line + "\n", level=logging.ERROR, noiselevel=-1)