Fixed #2258 -- Accounted for the case of a missing threading library in django.utils.synch. Thanks, scott@clued-in.co.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
49e5f5450d
commit
de9630c60e
|
@ -6,7 +6,10 @@ Synchronization primitives:
|
|||
(Contributed to Django by eugene@lazutkin.com)
|
||||
"""
|
||||
|
||||
import threading
|
||||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
import dummy_threading as threading
|
||||
|
||||
class RWLock:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue