From: Zac Medico Date: Thu, 20 Dec 2007 05:38:10 +0000 (-0000) Subject: Convert messages about missing portage tree to debug level X-Git-Tag: v2.2_pre1~153 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9355a9aed223cd20f083c2a2b5d804236e1693c;p=portage.git 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 --- 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: