aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-07-27 18:05:01 -0700
committerZac Medico <zmedico@gentoo.org>2010-07-27 18:05:01 -0700
commitd679b5db098641cbd9c4eeed6d4b5b888a6430f9 (patch)
tree3b1430244476fb15ded7dd8b99fbed03ca536134 /pym
parentFix UnboundLocalError for timestamps variable. (diff)
downloadportage-d679b5db098641cbd9c4eeed6d4b5b888a6430f9.tar.gz
portage-d679b5db098641cbd9c4eeed6d4b5b888a6430f9.tar.bz2
portage-d679b5db098641cbd9c4eeed6d4b5b888a6430f9.zip
Fix UnboundLocalError for do_upgrade_packagesmessage.
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/_global_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/_global_updates.py b/pym/portage/_global_updates.py
index 6f10e9eae..cded5c45a 100644
--- 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: