summaryrefslogtreecommitdiffstats
path: root/pym/portage/_global_updates.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-07-27 17:52:11 -0700
committerZac Medico <zmedico@gentoo.org>2010-07-27 17:52:11 -0700
commit7656cda21969eb9f15b0a2808ade2c4531783f2a (patch)
treebe10be6190970ba91d2f3c4d9efe9f7a6da33a2e /pym/portage/_global_updates.py
parent03aea0b5b8355cbb3599c0272dbcc8c24179a574 (diff)
downloadportage-7656cda21969eb9f15b0a2808ade2c4531783f2a.tar.gz
portage-7656cda21969eb9f15b0a2808ade2c4531783f2a.tar.bz2
portage-7656cda21969eb9f15b0a2808ade2c4531783f2a.zip
Fix UnboundLocalError for timestamps variable.
Diffstat (limited to 'pym/portage/_global_updates.py')
-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 85c8d8ef4..6f10e9eae 100644
--- a/pym/portage/_global_updates.py
+++ b/pym/portage/_global_updates.py
@@ -56,6 +56,7 @@ def _global_updates(trees, prev_mtimes):
world_warnings = set()
updpath_map = {}
repo_map = {}
+ timestamps = {}
for repo_name in portdb.getRepositories():
repo = portdb.getRepositoryPath(repo_name)
@@ -80,7 +81,6 @@ def _global_updates(trees, prev_mtimes):
repo_map[repo_name] = myupd
if len(update_data) > 0:
do_upgrade_packagesmessage = 0
- timestamps = {}
for mykey, mystat, mycontent in update_data:
writemsg_stdout("\n\n")
writemsg_stdout(colorize("GOOD",