the build was failing here due to IndentationError
[sfa.git] / sfa / methods / create_gid.py
index 2cd9e19..f5eaeda 100644 (file)
@@ -6,6 +6,8 @@ from sfa.trust.certificate import Keypair
 from sfa.util.faults import *
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
+
+from sfa.trust.gid import create_uuid
 from sfa.trust.auth import Auth
 
 class create_gid(Method):
@@ -35,6 +37,7 @@ class create_gid(Method):
     returns = Parameter(str, "String represeneation of a GID object")
     
     def call(self, cred, hrn, uuid, pubkey_str):
+        # validate the credential
         self.api.auth.check(cred, "getcredential")
         self.api.auth.verify_object_belongs_to_me(hrn)
         self.api.auth.verify_object_permission(hrn)