Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit de9630c60e944a075b164a1d11ba4853a12b1760 1 parent 49e5f54
Adrian Holovaty adrianholovaty authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 django/utils/synch.py
5 django/utils/synch.py
View
@@ -6,7 +6,10 @@
(Contributed to Django by eugene@lazutkin.com)
"""
-import threading
+try:
+ import threading
+except ImportError:
+ import dummy_threading as threading
class RWLock:
"""
Please sign in to comment.
Something went wrong with that request. Please try again.