From 173c8bd310f30007ac6535e58b047fe2b599adac Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 23 Oct 1995 13:58:53 +0000 Subject: MACTCP renamed to MACTCPconst --- Mac/Unsupported/mactcp/socket.py | 4 ++-- 1 file 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:] -- cgit v0.12