Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, scott…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 56131d0fb9a1a99577c3866ac63fa0cb8c779cbd 1 parent b4be0d2
@adrianholovaty adrianholovaty authored
Showing with 8 additions and 2 deletions.
  1. +4 −1 django/db/
  2. +4 −1 django/utils/
5 django/db/
@@ -12,7 +12,10 @@
or implicit commits or rollbacks.
-import thread
+ import thread
+except ImportError:
+ import dummy_thread as thread
from django.db import connection
from django.conf import settings
5 django/utils/
@@ -234,4 +234,7 @@ def __del__(self):
return __del__
__del__ = __del__()
-from threading import currentThread, enumerate, RLock
+ from threading import currentThread, enumerate, RLock
+except ImportError:
+ from dummy_threading import currentThread, enumerate, RLock
Please sign in to comment.
Something went wrong with that request. Please try again.