diff options
Diffstat (limited to 'python/helpers/pydev/_pydev_threading.py')
-rw-r--r-- | python/helpers/pydev/_pydev_threading.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/python/helpers/pydev/_pydev_threading.py b/python/helpers/pydev/_pydev_threading.py index 52d48c93ed3e..d7bfadf04308 100644 --- a/python/helpers/pydev/_pydev_threading.py +++ b/python/helpers/pydev/_pydev_threading.py @@ -2,14 +2,10 @@ import sys as _sys -try: - import _pydev_thread as thread -except ImportError: - import thread - +from _pydev_imps import _pydev_thread as thread import warnings -from _pydev_time import time as _time, sleep as _sleep +from _pydev_imps._pydev_time import time as _time, sleep as _sleep from traceback import format_exc as _format_exc # Note regarding PEP 8 compliant aliases @@ -854,7 +850,7 @@ _shutdown = _MainThread()._exitfunc # module, or from the python fallback try: - from _pydev_thread import _local as local + from _pydev_imps._pydev_thread import _local as local except ImportError: from _threading_local import local |