runtime/WampClient.py
changeset 1740 b789b695b5c6
parent 1736 7e61baa047f0
child 1744 69dfdb26f600
--- a/runtime/WampClient.py	Tue Aug 15 12:17:51 2017 +0300
+++ b/runtime/WampClient.py	Tue Aug 15 15:50:30 2017 +0300
@@ -70,7 +70,7 @@
         ID = self.config.extra["ID"]
         print 'WAMP session joined by :', ID
         for name in ExposedCalls:
-            reg = yield self.register(GetCallee(name), '.'.join((ID,name)))
+            reg = yield self.register(GetCallee(name), '.'.join((ID, name)))
 
         for name in SubscribedEvents:
             reg = yield self.subscribe(GetCallee(name), name)
@@ -109,7 +109,7 @@
     # create a WAMP application session factory
     component_config = types.ComponentConfig(
         realm = WSClientConf["realm"],
-        extra = {"ID":WSClientConf["ID"]})
+        extra = {"ID": WSClientConf["ID"]})
     session_factory = wamp.ApplicationSessionFactory(
         config = component_config)
     session_factory.session = WampSession
@@ -124,7 +124,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