core: cProfile is not available in 2.4.

pull/564/head
David Wilson 6 years ago
parent e703522010
commit 5ae7464011

@ -36,7 +36,6 @@ bootstrap implementation sent to every new slave context.
import binascii
import collections
import cProfile
import encodings.latin_1
import errno
import fcntl
@ -64,6 +63,11 @@ import imp
# Absolute imports for <2.5.
select = __import__('select')
try:
import cProfile
except ImportError:
cProfile = None
try:
import thread
except ImportError:

Loading…
Cancel
Save