summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-07-27 17:45:27 -0700
committerZac Medico <zmedico@gentoo.org>2010-07-27 17:45:27 -0700
commit03aea0b5b8355cbb3599c0272dbcc8c24179a574 (patch)
tree8d1ab607c35af19c200fb8d4ae8dc7a7576c309f /bin/emaint
parentc70f90b3cf0d55f569783d07202b3819d11dc018 (diff)
downloadportage-03aea0b5b8355cbb3599c0272dbcc8c24179a574.tar.gz
portage-03aea0b5b8355cbb3599c0272dbcc8c24179a574.tar.bz2
portage-03aea0b5b8355cbb3599c0272dbcc8c24179a574.zip
Make dbapi.update_ents() take a dict of {repo_name: list}, since it's
most efficient to process all repos at once.
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint
index 2bd17d9fd..52990f7df 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -323,8 +323,7 @@ class MoveHandler(object):
# Searching for updates in all the metadata is relatively slow, so this
# is where the progress bar comes out of indeterminate mode.
- for repo, updates in allupdates.items():
- self._tree.dbapi.update_ents(updates, onProgress=onProgress, repo=repo)
+ self._tree.dbapi.update_ents(allupdates, onProgress=onProgress)
return errors
class MoveInstalled(MoveHandler):