Removed nonsense code, that I should have check more in details before merging m(
--- 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 ..") %
- time.ctime())
- super(ReconnectingWampWebSocketClientFactory,
- self).clientConnectionFailed(connector, reason)
- else:
- del connector
+ print(_("WAMP Client connection failed (%s) .. retrying ..") %
+ time.ctime())
+ super(ReconnectingWampWebSocketClientFactory,
+ self).clientConnectionFailed(connector, reason)
def clientConnectionLost(self, connector, reason):
- if self.continueTrying:
- print(_("WAMP Client connection lost (%s) .. retrying ..") %
- time.ctime())
- super(ReconnectingWampWebSocketClientFactory,
- self).clientConnectionFailed(connector, reason)
- else:
- del connector
+ print(_("WAMP Client connection lost (%s) .. retrying ..") %
+ time.ctime())
+ super(ReconnectingWampWebSocketClientFactory,
+ self).clientConnectionFailed(connector, reason)
def CheckConfiguration(WampClientConf):