From: Zac Medico Date: Wed, 30 Mar 2011 18:36:35 +0000 (-0700) Subject: chk_updated_info_files: handle --quiet X-Git-Tag: v2.1.9.46~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5172fe51828666314acee3e88a881dce02cb99f;p=portage.git chk_updated_info_files: handle --quiet This will fix bug #361257. --- diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index cc46e6d9d..e89e8bbf1 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):