From e9355a9aed223cd20f083c2a2b5d804236e1693c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Dec 2007 05:38:10 +0000 Subject: 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 --- pym/portage/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22