From 070c137a6d1ccba42acaa980dcc9aee2c03bd363 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 10 Jul 2009 14:45:18 +0000 Subject: [PATCH] rename 'BindRemoteObjectToPeer into BindObjectToPeer + remove print message' --- PLC/Methods/{BindRemoteObjectToPeer.py => BindObjectToPeer.py} | 3 +-- PLC/Methods/__init__.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename PLC/Methods/{BindRemoteObjectToPeer.py => BindObjectToPeer.py} (97%) diff --git a/PLC/Methods/BindRemoteObjectToPeer.py b/PLC/Methods/BindObjectToPeer.py similarity index 97% rename from PLC/Methods/BindRemoteObjectToPeer.py rename to PLC/Methods/BindObjectToPeer.py index 0be5a6a6..c9cf4e48 100644 --- a/PLC/Methods/BindRemoteObjectToPeer.py +++ b/PLC/Methods/BindObjectToPeer.py @@ -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 diff --git a/PLC/Methods/__init__.py b/PLC/Methods/__init__.py index d2a11f25..a68a7bd5 100644 --- a/PLC/Methods/__init__.py +++ b/PLC/Methods/__init__.py @@ -40,7 +40,7 @@ AddSliceToNodes AddSliceToNodesWhitelist AddTagType AuthCheck -BindRemoteObjectToPeer +BindObjectToPeer BlacklistKey BootCheckAuthentication BootGetNodeDetails -- 2.47.0