namespace module is gone, plxrn provides PL-specific translations
[sfa.git] / sfa / methods / RegisterPeerObject.py
index 51fbe25..864b1d5 100644 (file)
@@ -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