From 441c699acbb4b443c705933c1fccee0d906a1262 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 14 Jun 2013 16:22:51 +0000 Subject: 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 --- bitbake/lib/bb/utils.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bitbake/lib/bb/utils.py') 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): 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) -- cgit v1.2.3-54-g00ecf