1 |
commit: c133281d9b906f45bf4525dbc08faaeb605c1092 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 18:36:35 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 18:38:00 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c133281d |
7 |
|
8 |
chk_updated_info_files: handle --quiet |
9 |
|
10 |
This will fix bug #361257. |
11 |
|
12 |
--- |
13 |
pym/_emerge/main.py | 8 +++++--- |
14 |
1 files changed, 5 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py |
17 |
index d4b14fc..96fee89 100644 |
18 |
--- a/pym/_emerge/main.py |
19 |
+++ b/pym/_emerge/main.py |
20 |
@@ -114,10 +114,12 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval): |
21 |
|
22 |
if not regen_infodirs: |
23 |
portage.writemsg_stdout("\n") |
24 |
- out.einfo("GNU info directory index is up-to-date.") |
25 |
+ if portage.util.noiselimit >= 0: |
26 |
+ out.einfo("GNU info directory index is up-to-date.") |
27 |
else: |
28 |
portage.writemsg_stdout("\n") |
29 |
- out.einfo("Regenerating GNU info directory index...") |
30 |
+ if portage.util.noiselimit >= 0: |
31 |
+ out.einfo("Regenerating GNU info directory index...") |
32 |
|
33 |
dir_extensions = ("", ".gz", ".bz2") |
34 |
icount=0 |
35 |
@@ -204,7 +206,7 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval): |
36 |
(icount, badcount)) |
37 |
writemsg_level(errmsg, level=logging.ERROR, noiselevel=-1) |
38 |
else: |
39 |
- if icount > 0: |
40 |
+ if icount > 0 and portage.util.noiselimit >= 0: |
41 |
out.einfo("Processed %d info files." % (icount,)) |
42 |
|
43 |
def display_preserved_libs(vardbapi, myopts): |