summaryrefslogtreecommitdiff
path: root/morphlib/builder.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-24 16:16:24 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-24 16:16:24 +0000
commitc38753c076f1dcd440ad0fdac152555192581dd9 (patch)
treed1687f6cc2519a1a0d1d6347257f1006baf56e9f /morphlib/builder.py
parent5177afe15f8dd2c2dd5d1e80974f3a3c4169776b (diff)
downloadmorph-c38753c076f1dcd440ad0fdac152555192581dd9.tar.gz
Fix the loop that waits for workers to finish.
Apparently, all(x for x in y) performs some sort of lazy evaluation, causing it to only check workers to complete until one of them is not complete. What we want is to check all of them, so we need to use the all([x for x in y]) notation, which will first generate a list and then evaluate that by iterating over it. Madness - but it works now!
Diffstat (limited to 'morphlib/builder.py')
0 files changed, 0 insertions, 0 deletions