Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 173c8bd

Browse files
committed
MACTCP renamed to MACTCPconst
1 parent 85c9aea commit 173c8bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/Unsupported/mactcp/socket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
import mactcp
13-
import MACTCP
13+
import MACTCPconst
1414
import macdnr
1515

1616

@@ -183,7 +183,7 @@ def recv(self, bufsize, flags=0):
183183
try:
184184
self.databuf, urg, mark = self.stream.Rcv(0)
185185
except mactcp.error, arg:
186-
if arg[0] != MACTCP.connectionClosing:
186+
if arg[0] != MACTCPconst.connectionClosing:
187187
raise mactcp.error, arg
188188
rv = self.databuf[:bufsize]
189189
self.databuf = self.databuf[bufsize:]

0 commit comments

Comments
 (0)