diff -r bcb50e736a46 -r 91796f408540 runtime/WampClient.py --- a/runtime/WampClient.py Fri Sep 22 10:52:44 2017 +0300 +++ b/runtime/WampClient.py Fri Sep 22 10:54:42 2017 +0300 @@ -21,6 +21,8 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +from __future__ import print_function import sys from autobahn.twisted import wamp from autobahn.twisted.websocket import WampWebSocketClientFactory, connectWS @@ -68,7 +70,7 @@ global _WampSession _WampSession = self ID = self.config.extra["ID"] - print 'WAMP session joined by :', ID + print('WAMP session joined by :', ID) for name in ExposedCalls: reg = yield self.register(GetCallee(name), '.'.join((ID, name))) @@ -81,7 +83,7 @@ def onLeave(self, details): global _WampSession _WampSession = None - print 'WAMP session left' + print('WAMP session left') class ReconnectingWampWebSocketClientFactory(WampWebSocketClientFactory, ReconnectingClientFactory): @@ -125,7 +127,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