summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-20 05:38:10 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-20 05:38:10 +0000
commite9355a9aed223cd20f083c2a2b5d804236e1693c (patch)
tree4baf72bfdef53219d34d364043324eaf90ef573d
parent1732c6978e3576fb9d690f45f428ead3eeea0740 (diff)
downloadportage-e9355a9aed223cd20f083c2a2b5d804236e1693c.tar.gz
portage-e9355a9aed223cd20f083c2a2b5d804236e1693c.tar.bz2
portage-e9355a9aed223cd20f083c2a2b5d804236e1693c.zip
Convert messages about missing portage tree to debug level
warnings since quite often it's possible to function without a portage tree now. svn path=/main/trunk/; revision=8974
-rw-r--r--pym/portage/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 3bcba4d6f..1d6a43c54 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1662,7 +1662,8 @@ class config(object):
groups = self["ACCEPT_KEYWORDS"].split()
archlist = self.archlist()
if not archlist:
- writemsg("--- 'profiles/arch.list' is empty or not available. Empty portage tree?\n")
+ writemsg("--- 'profiles/arch.list' is empty or " + \
+ "not available. Empty portage tree?\n", noiselevel=1)
else:
for group in groups:
if group not in archlist and \
@@ -6012,7 +6013,8 @@ def _global_updates(trees, prev_mtimes):
else:
update_data = grab_updates(updpath, prev_mtimes)
except portage.exception.DirectoryNotFound:
- writemsg("--- 'profiles/updates' is empty or not available. Empty portage tree?\n")
+ writemsg("--- 'profiles/updates' is empty or " + \
+ "not available. Empty portage tree?\n", noiselevel=1)
return
myupd = None
if len(update_data) > 0: