X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FGetGids.py;h=f67f5d4db9ec82e70ba20d5f7501bca134e3bf8b;hb=cf630d87d633f3861e3ac8a50433fa29ca46a74e;hp=601db6f67dfc1580e193c88a082d92ced8e54e64;hpb=44dbc99733c218930dc61619c068f1038c4f33e4;p=sfa.git diff --git a/sfa/methods/GetGids.py b/sfa/methods/GetGids.py index 601db6f6..f67f5d4d 100644 --- a/sfa/methods/GetGids.py +++ b/sfa/methods/GetGids.py @@ -1,8 +1,10 @@ from sfa.util.faults import RecordNotFound from sfa.util.method import Method -from sfa.util.parameter import Parameter, Mixed + from sfa.trust.credential import Credential +from sfa.storage.parameter import Parameter, Mixed + class GetGids(Method): """ Get a list of record information (hrn, gid and type) for @@ -31,7 +33,7 @@ class GetGids(Method): origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() # resolve the record - records = self.api.manager.resolve(self.api, xrns, full = False) + records = self.api.manager.Resolve(self.api, xrns, full = False) if not records: raise RecordNotFound(xrns)