Instead of the code: from threading import LockIt should use: try: from threading import Lock except: class Lock: def acquire(self): pass def release(self): pass
I suggest:
try:
from threading import Lock
except:
from dummy_threading import Lock
Nick
