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:21 +0100 |
commit | a51c402304f2080a76720f9b31d6dfdbed393bba (patch) | |
tree | 892d466911437dfd0fc53e193b57c609d1e26a7b /lib/bb/utils.py | |
parent | c54e738e2b5dc0d8e6fd8e93b284ed96e7a83051 (diff) | |
download | bitbake-a51c402304f2080a76720f9b31d6dfdbed393bba.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/utils.py')
-rw-r--r-- | lib/bb/utils.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py index 7db6e3862..5301ebaa9 100644 --- a/lib/bb/utils.py +++ b/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) |