rename 'BindRemoteObjectToPeer into BindObjectToPeer + remove print message'
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 10 Jul 2009 14:45:18 +0000 (14:45 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 10 Jul 2009 14:45:18 +0000 (14:45 +0000)
PLC/Methods/BindObjectToPeer.py [moved from PLC/Methods/BindRemoteObjectToPeer.py with 97% similarity]
PLC/Methods/__init__.py

similarity index 97%
rename from PLC/Methods/BindRemoteObjectToPeer.py
rename to PLC/Methods/BindObjectToPeer.py
index 0be5a6a..c9cf4e4 100644 (file)
@@ -10,7 +10,7 @@ from PLC.Nodes import Nodes
 from PLC.Slices import Slices
 from PLC.Peers import Peers
 
-class BindRemoteObjectToPeer(Method):
+class BindObjectToPeer(Method):
     """
     This method is a hopefully temporary hack to let the sfa correctly
     attach the objects it creates to a remote peer object. This is
@@ -62,7 +62,6 @@ class BindRemoteObjectToPeer(Method):
         object = self.locate_object (object_type, object_id)
         adder_name = 'add_'+object_type
         add_function = getattr(type(peer),adder_name)
-        print 'object',object
         add_function(peer,object,remote_object_id)
 
         return 1
index d2a11f2..a68a7bd 100644 (file)
@@ -40,7 +40,7 @@ AddSliceToNodes
 AddSliceToNodesWhitelist
 AddTagType
 AuthCheck
-BindRemoteObjectToPeer
+BindObjectToPeer
 BlacklistKey
 BootCheckAuthentication
 BootGetNodeDetails