MACTCP renamed to MACTCPconst

This commit is contained in:
Jack Jansen 1995-10-23 13:58:53 +00:00
parent 85c9aea6e2
commit 173c8bd310

View 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:]