X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FList.py;h=55dd7dd9a8d6bd14c10f9d0fdb0e3b5e8e74c9b9;hb=29df906cd2d154a3b90fcb1b7025f3fc1bb577fe;hp=a812c867cc52552c0d4bcfc478ec10d2b9c8b708;hpb=dbce495b6f2e7d8dccbfb18c5507907d784c143b;p=sfa.git diff --git a/sfa/methods/List.py b/sfa/methods/List.py index a812c867..55dd7dd9 100644 --- a/sfa/methods/List.py +++ b/sfa/methods/List.py @@ -1,8 +1,5 @@ -### $Id: list.py 16588 2010-01-13 17:53:44Z anil $ -### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/methods/list.py $ -from sfa.util.faults import * -from sfa.util.namespace import urn_to_hrn +from sfa.util.xrn import urn_to_hrn from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed from sfa.util.record import SfaRecord @@ -34,5 +31,4 @@ class List(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, hrn, self.name)) - manager = self.api.get_interface_manager() - return manager.list(self.api, xrn) + return self.api.manager.List(self.api, xrn)