Commit 50aa72fe authored by Jim Fulton's avatar Jim Fulton

ecided we didn't need to use Python's version after all.

(There's really not a good reason for asynchat to be in
Python's standard lib.)
parent 0563a645
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
# We want to use updated asynchat and asyncore if using Python1.5 # We want to use updated asynchat and asyncore if using Python1.5
import sys import sys
if sys.version[:1] < '2': if sys.version[:1] < '2':
import asyncore, asynchat import asyncore
sys.modules['asyncore']=asyncore sys.modules['asyncore']=asyncore
sys.modules['asynchat']=asynchat
del asyncore del asyncore
del asynchat
del sys del sys
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
# We want to use updated asynchat and asyncore if using Python1.5 # We want to use updated asynchat and asyncore if using Python1.5
import sys import sys
if sys.version[:1] < '2': if sys.version[:1] < '2':
import asyncore, asynchat import asyncore
sys.modules['asyncore']=asyncore sys.modules['asyncore']=asyncore
sys.modules['asynchat']=asynchat
del asyncore del asyncore
del asynchat
del sys del sys
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