From c133281d9b906f45bf4525dbc08faaeb605c1092 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 Mar 2011 11:36:35 -0700 Subject: chk_updated_info_files: handle --quiet This will fix bug #361257. --- pym/_emerge/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pym') diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index d4b14fcc4..96fee89ab 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -114,10 +114,12 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval): if not regen_infodirs: portage.writemsg_stdout("\n") - out.einfo("GNU info directory index is up-to-date.") + if portage.util.noiselimit >= 0: + out.einfo("GNU info directory index is up-to-date.") else: portage.writemsg_stdout("\n") - out.einfo("Regenerating GNU info directory index...") + if portage.util.noiselimit >= 0: + out.einfo("Regenerating GNU info directory index...") dir_extensions = ("", ".gz", ".bz2") icount=0 @@ -204,7 +206,7 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval): (icount, badcount)) writemsg_level(errmsg, level=logging.ERROR, noiselevel=-1) else: - if icount > 0: + if icount > 0 and portage.util.noiselimit >= 0: out.einfo("Processed %d info files." % (icount,)) def display_preserved_libs(vardbapi, myopts): -- cgit v1.2.3-1-g7c22