projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03aea0b
)
Fix UnboundLocalError for timestamps variable.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Jul 2010 00:52:11 +0000
(17:52 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Jul 2010 00:52:11 +0000
(17:52 -0700)
pym/portage/_global_updates.py
patch
|
blob
|
history
diff --git
a/pym/portage/_global_updates.py
b/pym/portage/_global_updates.py
index 85c8d8ef4bb550c4d4bae6bfcb1ab6f743199bf2..6f10e9eaeb7cc155032825edbc5dbf045842ac49 100644
(file)
--- 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",