1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds

Now we've moved to require python 2.7.3, we can jettison the compatibility
workarounds/hacks for older python versions.

(Bitbake rev: a51c402304f2080a76720f9b31d6dfdbed393bba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-06-14 16:22:51 +00:00
parent 6c058341f9
commit 441c699acb
4 changed files with 14 additions and 1067 deletions
+2 -5
View File
@@ -860,11 +860,8 @@ def process_profilelog(fn):
pout.close()
#
# Work around multiprocessing pool bugs in python < 2.7.3
# Was present to work around multiprocessing pool bugs in python < 2.7.3
#
def multiprocessingpool(*args, **kwargs):
if sys.version_info < (2, 7, 3):
return bb.compat.Pool(*args, **kwargs)
else:
return multiprocessing.pool.Pool(*args, **kwargs)
return multiprocessing.pool.Pool(*args, **kwargs)