Merge "forall: use a generator to map the Pool"
This commit is contained in:
commit
a38769cda8
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ without iterating through the remaining projects.
|
|||
config = self.manifest.manifestProject.config
|
||||
results_it = pool.imap(
|
||||
DoWorkWrapper,
|
||||
[[mirror, opt, cmd, shell, cnt, config, self._SerializeProject(p)]
|
||||
for cnt, p in enumerate(projects)]
|
||||
([mirror, opt, cmd, shell, cnt, config, self._SerializeProject(p)]
|
||||
for cnt, p in enumerate(projects))
|
||||
)
|
||||
pool.close()
|
||||
for r in results_it:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue