X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2Fget_trusted_certs.py;h=3cfc51d721b1d7e6148c53cb7252fa3cc6ca1f41;hb=479fe75aba4509060c663c0025dac7398269f7ff;hp=53a687f36cd1efa8e20a8fe9d5045614b2b9d814;hpb=04a3f20dc71bf8b3f96b1e3172623aa346a638a7;p=sfa.git diff --git a/sfa/methods/get_trusted_certs.py b/sfa/methods/get_trusted_certs.py index 53a687f3..3cfc51d7 100644 --- a/sfa/methods/get_trusted_certs.py +++ b/sfa/methods/get_trusted_certs.py @@ -1,4 +1,5 @@ from sfa.util.method import Method +from sfa.util.sfalogging import logger from sfa.trust.auth import Auth from sfa.trust.credential import Credential @@ -9,7 +10,7 @@ from sfa.storage.parameter import Parameter, Mixed class get_trusted_certs(Method): """ @param cred credential string specifying the rights of the caller - @return list of gid strings + @return list of gid strings """ interfaces = ['registry', 'aggregate', 'slicemgr'] @@ -25,7 +26,7 @@ class get_trusted_certs(Method): # If cred is not specified just return the gid for this interface. # This is true when when a peer is attempting to initiate federation # with this interface - self.api.logger.debug("get_trusted_certs: %r" % cred) + logger.debug("get_trusted_certs: %r" % cred) if not cred: gid_strings = [] for gid in self.api.auth.trusted_cert_list: