X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FRegisterPeerObject.py;h=864b1d534a6aaa96244b12a26c3ce92b17db3c93;hb=06b330f0ee047bdb107e43e82b1d7356c876bc15;hp=51fbe25caed145adaebc0a931f907eb0d17e6a04;hpb=3109c266ca3a5df2364e52502479adcc2f995d68;p=sfa.git diff --git a/sfa/methods/RegisterPeerObject.py b/sfa/methods/RegisterPeerObject.py index 51fbe25c..864b1d53 100644 --- a/sfa/methods/RegisterPeerObject.py +++ b/sfa/methods/RegisterPeerObject.py @@ -5,7 +5,7 @@ from sfa.trust.certificate import Keypair, convert_public_key from sfa.trust.gid import * from sfa.util.faults import * -from sfa.util.namespace import get_authority +from sfa.util.xrn import get_authority from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed from sfa.util.record import SfaRecord @@ -14,7 +14,7 @@ from sfa.trust.auth import Auth from sfa.trust.gid import create_uuid from sfa.trust.credential import Credential -class register_peer_object(Method): +class RegisterPeerObject(Method): """ Register a peer object with the registry. In addition to being stored in the SFA database, the appropriate records will also be created in the