Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Lib/ldap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down