X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Fmethods%2FGetGids.py;h=623fbe92c933db95195c705ea877dd05a716655c;hb=be71b8d7c957590aecb593e5c9be315aa189729f;hp=601db6f67dfc1580e193c88a082d92ced8e54e64;hpb=4fbc1c51ef8033e5305156ded6b8a3f6c9d921bf;p=sfa.git diff --git a/sfa/methods/GetGids.py b/sfa/methods/GetGids.py index 601db6f6..623fbe92 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, details = False) if not records: raise RecordNotFound(xrns)