Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored July 07, 2006

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  django/utils/synch.py
5  django/utils/synch.py
@@ -6,7 +6,10 @@
6 6
 (Contributed to Django by eugene@lazutkin.com)
7 7
 """
8 8
 
9  
-import threading
  9
+try:
  10
+    import threading
  11
+except ImportError:
  12
+    import dummy_threading as threading
10 13
 
11 14
 class RWLock:
12 15
     """

0 notes on commit de9630c

Please sign in to comment.
Something went wrong with that request. Please try again.