mirror of
https://github.com/django/django.git
synced 2025-01-18 22:33:44 +00:00
parent
dcdaf9a079
commit
f7b69665fd
@ -867,7 +867,9 @@ class QuietWSGIRequestHandler(WSGIRequestHandler):
|
||||
pass
|
||||
|
||||
|
||||
if sys.version_info >= (2, 7, 0):
|
||||
if sys.version_info >= (3, 3, 0):
|
||||
_ImprovedEvent = threading.Event
|
||||
elif sys.version_info >= (2, 7, 0):
|
||||
_ImprovedEvent = threading._Event
|
||||
else:
|
||||
class _ImprovedEvent(threading._Event):
|
||||
|
Loading…
x
Reference in New Issue
Block a user