X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Fmethods%2FCreateGid.py;h=eb001a1c2f6ad514349a50b9e5ad1e3c28417e64;hb=d58bbc6238ee07a3e386b2627aa64ccb2dce352f;hp=74ce9defaa03cdd90f74feb66102295dbf2bb66f;hpb=431a6bf78c6232a44b178e2092451e733a71bba3;p=sfa.git diff --git a/sfa/methods/CreateGid.py b/sfa/methods/CreateGid.py index 74ce9def..eb001a1c 100644 --- a/sfa/methods/CreateGid.py +++ b/sfa/methods/CreateGid.py @@ -1,7 +1,8 @@ from sfa.util.xrn import urn_to_hrn from sfa.util.method import Method -from sfa.util.parameter import Parameter, Mixed + +from sfa.storage.parameter import Parameter, Mixed from sfa.trust.credential import Credential class CreateGid(Method): @@ -43,4 +44,4 @@ class CreateGid(Method): origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, xrn, self.name)) - return self.api.manager.create_gid(self.api, xrn, cert) + return self.api.manager.CreateGid(self.api, xrn, cert)