1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00

Fixed Python version check in testcases.py

This commit is contained in:
Claude Paroz 2012-08-16 15:31:01 +02:00
parent fcc8de0598
commit d69bd23b55

View File

@ -917,7 +917,7 @@ class QuietWSGIRequestHandler(WSGIRequestHandler):
pass
if sys.version_info >= (2, 6, 0):
if sys.version_info >= (2, 7, 0):
_ImprovedEvent = threading._Event
else:
class _ImprovedEvent(threading._Event):