diff --git a/Lib/ldap/__init__.py b/Lib/ldap/__init__.py index 951f9575..8d675733 100644 --- a/Lib/ldap/__init__.py +++ b/Lib/ldap/__init__.py @@ -54,11 +54,10 @@ def release(self): try: # Check if Python installation was build with thread support - import thread + import threading except ImportError: LDAPLockBaseClass = DummyLock else: - import threading LDAPLockBaseClass = threading.Lock
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: