parent
dcdaf9a079
commit
f7b69665fd
|
@ -867,7 +867,9 @@ class QuietWSGIRequestHandler(WSGIRequestHandler):
|
||||||
pass
|
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
|
_ImprovedEvent = threading._Event
|
||||||
else:
|
else:
|
||||||
class _ImprovedEvent(threading._Event):
|
class _ImprovedEvent(threading._Event):
|
||||||
|
|
Loading…
Reference in New Issue