projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb3f27
)
Bug #336595 - Make dbapi.update_ents() calls quiet when appropriate in
author
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Sep 2010 14:51:22 +0000
(07:51 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 10 Sep 2010 14:51:22 +0000
(07:51 -0700)
_global_updates().
pym/portage/_global_updates.py
patch
|
blob
|
history
diff --git
a/pym/portage/_global_updates.py
b/pym/portage/_global_updates.py
index 8390d68cf345691de274a90afc7c3651c2e1873b..868d1ee80726ce9ef38768a4bceb4c730d17f479 100644
(file)
--- a/
pym/portage/_global_updates.py
+++ b/
pym/portage/_global_updates.py
@@
-222,11
+222,15
@@
def _global_updates(trees, prev_mtimes, quiet=False):
def onUpdate(maxval, curval):
if curval > 0:
writemsg_stdout("#")
+ if quiet:
+ onUpdate = None
vardb.update_ents(repo_map, onUpdate=onUpdate)
if bindb:
def onUpdate(maxval, curval):
if curval > 0:
writemsg_stdout("*")
+ if quiet:
+ onUpdate = None
bindb.update_ents(repo_map, onUpdate=onUpdate)
else:
do_upgrade_packagesmessage = 1