--- a/runtime/WampClient.py Tue Dec 18 14:12:16 2018 +0100
+++ b/runtime/WampClient.py Wed Dec 19 10:48:53 2018 +0100
@@ -173,22 +173,16 @@
return ReconnectingClientFactory.buildProtocol(self, addr)
def clientConnectionFailed(self, connector, reason):
- if self.continueTrying:
- print(_("WAMP Client connection failed (%s) .. retrying ..") %
- super(ReconnectingWampWebSocketClientFactory,
- self).clientConnectionFailed(connector, reason)
+ print(_("WAMP Client connection failed (%s) .. retrying ..") % + super(ReconnectingWampWebSocketClientFactory, + self).clientConnectionFailed(connector, reason) def clientConnectionLost(self, connector, reason):
- if self.continueTrying:
- print(_("WAMP Client connection lost (%s) .. retrying ..") %
- super(ReconnectingWampWebSocketClientFactory,
- self).clientConnectionFailed(connector, reason)
+ print(_("WAMP Client connection lost (%s) .. retrying ..") % + super(ReconnectingWampWebSocketClientFactory, + self).clientConnectionFailed(connector, reason) def CheckConfiguration(WampClientConf):