From 81e1ee491ab4f66145bef301fe7c4189d72df6e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 30 Sep 2010 22:05:11 +0200 Subject: [PATCH 1/1] use sfaImporter.logger.info --- sfa/trust/hierarchy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.43.0