eric6/Cooperation/CooperationClient.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
213 @param socketError reference to the error object 213 @param socketError reference to the error object
214 @type QAbstractSocket.SocketError 214 @type QAbstractSocket.SocketError
215 @param connection connection that caused the error 215 @param connection connection that caused the error
216 @type Connection 216 @type Connection
217 """ 217 """
218 if socketError != QAbstractSocket.RemoteHostClosedError: 218 if socketError != QAbstractSocket.SocketError.RemoteHostClosedError:
219 if connection.peerPort() != 0: 219 if connection.peerPort() != 0:
220 msg = "* {0}:{1}\n{2}\n".format( 220 msg = "* {0}:{1}\n{2}\n".format(
221 connection.peerAddress().toString(), 221 connection.peerAddress().toString(),
222 connection.peerPort(), 222 connection.peerPort(),
223 connection.errorString() 223 connection.errorString()

eric ide

mercurial