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:
Adrian Holovaty 2006-07-07 04:07:41 +00:00
parent 49e5f5450d
commit de9630c60e
1 changed files with 4 additions and 1 deletions

View File

@ -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:
"""