# HG changeset patch
# User Edouard Tisserant
# Date 1545212933 -3600
# Node ID 1d64d283d0bde998bf23b4af60ac1c6c3f0ea67d
# Parent  897687a3c9820691b9f4606aba344faf4e51cdff
Removed nonsense code, that I should have check more in details before merging m(

diff -r 897687a3c982 -r 1d64d283d0bd runtime/WampClient.py
--- 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):