From 03aea0b5b8355cbb3599c0272dbcc8c24179a574 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Jul 2010 17:45:27 -0700 Subject: Make dbapi.update_ents() take a dict of {repo_name: list}, since it's most efficient to process all repos at once. --- bin/emaint | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') 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): -- cgit v1.2.3-1-g7c22