Commit deadcb1a authored by Andreas Jung's avatar Andreas Jung

removed check for python version. asyncore is now imported from

the standard Python 2.1 distribution. The asyncore module from
the Medusa package has been removed it is not compatible with the
one shipped with the Python distribution.
parent dd8ba669
......@@ -84,12 +84,10 @@
##############################################################################
import sys
from medusa import max_sockets
sys.path.append("ZServer/medusa/test")
import max_sockets
# We want to use updated asynchat and asyncore if using Python1
if sys.version[:1] < '2':
import async1x
del async1x
CONNECTION_LIMIT=max_sockets.max_select_sockets()
......
......@@ -84,12 +84,10 @@
##############################################################################
import sys
from medusa import max_sockets
sys.path.append("ZServer/medusa/test")
import max_sockets
# We want to use updated asynchat and asyncore if using Python1
if sys.version[:1] < '2':
import async1x
del async1x
CONNECTION_LIMIT=max_sockets.max_select_sockets()
......
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