projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7656cda
)
Fix UnboundLocalError for do_upgrade_packagesmessage.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Jul 2010 01:05:01 +0000
(18:05 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Jul 2010 01:05:01 +0000
(18:05 -0700)
pym/portage/_global_updates.py
patch
|
blob
|
history
diff --git
a/pym/portage/_global_updates.py
b/pym/portage/_global_updates.py
index 6f10e9eaeb7cc155032825edbc5dbf045842ac49..cded5c45adc65cb256bbce0a96485d4247270a17 100644
(file)
--- a/
pym/portage/_global_updates.py
+++ b/
pym/portage/_global_updates.py
@@
-80,7
+80,6
@@
def _global_updates(trees, prev_mtimes):
updpath_map[updpath] = myupd
repo_map[repo_name] = myupd
if len(update_data) > 0:
- do_upgrade_packagesmessage = 0
for mykey, mystat, mycontent in update_data:
writemsg_stdout("\n\n")
writemsg_stdout(colorize("GOOD",
@@
-160,6
+159,7
@@
def _global_updates(trees, prev_mtimes):
prev_mtimes[mykey] = mtime
if repo_map:
+ do_upgrade_packagesmessage = False
# We gotta do the brute force updates for these now.
if mysettings.get("PORTAGE_CALLER") == "fixpackages" or \
"fixpackages" in mysettings.features: