diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 16:22:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 17:26:30 +0100 |
commit | 441c699acbb4b443c705933c1fccee0d906a1262 (patch) | |
tree | 63816b0140acf3052a1b673ecd8d2400f3a528b3 /bitbake/lib/bb/utils.py | |
parent | 6c058341f9b0bee6af2554d897a2623a2ea9a479 (diff) | |
download | ast2050-yocto-poky-441c699acbb4b443c705933c1fccee0d906a1262.zip ast2050-yocto-poky-441c699acbb4b443c705933c1fccee0d906a1262.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 7db6e38..5301eba 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -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) |