# HG changeset patch # User Edouard Tisserant # Date 1515505343 -3600 # Node ID 916099cb8d22d38a2e40b67ede525a2672e178dd # Parent baff5444653551d1a429d8a8f842821c4bc4d7ad non significant print syntax change. ready for py3. diff -r baff54446535 -r 916099cb8d22 runtime/WampClient.py --- a/runtime/WampClient.py Tue Jan 09 14:38:45 2018 +0100 +++ b/runtime/WampClient.py Tue Jan 09 14:42:23 2018 +0100 @@ -85,17 +85,17 @@ def onLeave(self, details): global _WampSession _WampSession = None - print('WAMP session left') + print(_('WAMP session left')) class ReconnectingWampWebSocketClientFactory(WampWebSocketClientFactory, ReconnectingClientFactory): def clientConnectionFailed(self, connector, reason): - print("WAMP Client connection failed .. retrying ..") self.retry(connector) + print(_("WAMP Client connection failed .. retrying ..")) def clientConnectionLost(self, connector, reason): - print("WAMP Client connection lost .. retrying ..") self.retry(connector) + print(_("WAMP Client connection lost .. retrying ..")) def LoadWampClientConf(wampconf): @@ -129,7 +129,7 @@ # start the client from a Twisted endpoint conn = connectWS(transport_factory) - print("WAMP client connecting to :", WSClientConf["url"]) + print(_("WAMP client connecting to :"), _WSClientConf["url"]) return conn