mirror of
https://github.com/django/django.git
synced 2025-03-10 09:22:46 +00:00
Corrected r15205 syntax to be Python2.4 compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b4dffd8df
commit
0d70d29227
@ -242,6 +242,7 @@ class WSGIHandler(base.BaseHandler):
|
|||||||
# settings weren't available.
|
# settings weren't available.
|
||||||
if self._request_middleware is None:
|
if self._request_middleware is None:
|
||||||
self.initLock.acquire()
|
self.initLock.acquire()
|
||||||
|
try:
|
||||||
try:
|
try:
|
||||||
# Check that middleware is still uninitialised.
|
# Check that middleware is still uninitialised.
|
||||||
if self._request_middleware is None:
|
if self._request_middleware is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user