From: Barış Metin Date: Thu, 30 Sep 2010 20:05:11 +0000 (+0200) Subject: use sfaImporter.logger.info X-Git-Tag: sfa-1.0-1~12 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=81e1ee491ab4f66145bef301fe7c4189d72df6e8;p=sfa.git use sfaImporter.logger.info --- diff --git a/sfa/trust/hierarchy.py b/sfa/trust/hierarchy.py index 1ba7fb11..011890b7 100644 --- a/sfa/trust/hierarchy.py +++ b/sfa/trust/hierarchy.py @@ -18,7 +18,6 @@ import os from sfa.util.sfalogging import sfa_logger -from sfa.util.report import * from sfa.trust.certificate import Keypair from sfa.trust.credential import * from sfa.trust.gid import GID, create_uuid @@ -162,7 +161,7 @@ class Hierarchy: def create_auth(self, xrn, create_parents=False): hrn, type = urn_to_hrn(xrn) - trace("Hierarchy: creating authority: " + hrn) + sfaImporter.logger.info("Hierarchy: creating authority: " + hrn) # create the parent authority if necessary parent_hrn = get_authority(hrn) @@ -207,7 +206,7 @@ class Hierarchy: def get_auth_info(self, xrn): - #trace("Hierarchy: getting authority: " + hrn) + sfaImporter.logger.info("Hierarchy: getting authority: " + hrn) hrn, type = urn_to_hrn(xrn) if not self.auth_exists(hrn): raise MissingAuthority(hrn)