]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
MACTCP renamed to MACTCPconst
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Oct 1995 13:58:53 +0000 (13:58 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Oct 1995 13:58:53 +0000 (13:58 +0000)
Mac/Unsupported/mactcp/socket.py

index c6f817d13991c3110cba58baef2b1d84850192f6..0a1b5f053773ac69bc351f27eeb046bf61d0660f 100644 (file)
@@ -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:]