summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-10-23 13:58:53 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-10-23 13:58:53 (GMT)
commit173c8bd310f30007ac6535e58b047fe2b599adac (patch)
tree734536b9c9bb7bfd1dd2180ba626441e402757b5
parent85c9aea6e2a768797a322319a5f77de0cf378059 (diff)
downloadcpython-173c8bd310f30007ac6535e58b047fe2b599adac.zip
cpython-173c8bd310f30007ac6535e58b047fe2b599adac.tar.gz
cpython-173c8bd310f30007ac6535e58b047fe2b599adac.tar.bz2
MACTCP renamed to MACTCPconst
-rw-r--r--Mac/Unsupported/mactcp/socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Unsupported/mactcp/socket.py b/Mac/Unsupported/mactcp/socket.py
index c6f817d..0a1b5f0 100644
--- a/Mac/Unsupported/mactcp/socket.py
+++ b/Mac/Unsupported/mactcp/socket.py
@@ -10,7 +10,7 @@ but getpeername() and makefile() do work; everything used by ftplib works!
import mactcp
-import MACTCP
+import MACTCPconst
import macdnr
@@ -183,7 +183,7 @@ class _tcpsocket(_socket):
try:
self.databuf, urg, mark = self.stream.Rcv(0)
except mactcp.error, arg:
- if arg[0] != MACTCP.connectionClosing:
+ if arg[0] != MACTCPconst.connectionClosing:
raise mactcp.error, arg
rv = self.databuf[:bufsize]
self.databuf = self.databuf[bufsize:]