Commit a22ad7f9 authored by Mike Hibler's avatar Mike Hibler

Fix the check for a feature that appeared in version 2.7.8.

parent 61cda6a6
......@@ -456,8 +456,9 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
# Parent process
if self.active_children is None:
if sys.version_info.major == 2:
if (sys.version_info.minor < 7 and
sys.version_info.micro < 9):
if (sys.version_info.minor < 7 or
(sys.version_info.minor == 7 and
sys.version_info.micro < 8)):
self.active_children = []
else:
self.active_children = set()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment