summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 7db6e3862f..5301ebaa97 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -860,11 +860,8 @@ def process_profilelog(fn):
860 pout.close() 860 pout.close()
861 861
862# 862#
863# Work around multiprocessing pool bugs in python < 2.7.3 863# Was present to work around multiprocessing pool bugs in python < 2.7.3
864# 864#
865def multiprocessingpool(*args, **kwargs): 865def multiprocessingpool(*args, **kwargs):
866 if sys.version_info < (2, 7, 3): 866 return multiprocessing.pool.Pool(*args, **kwargs)
867 return bb.compat.Pool(*args, **kwargs)
868 else:
869 return multiprocessing.pool.Pool(*args, **kwargs)
870 867