From: Barış Metin Date: Mon, 6 Jul 2009 20:53:53 +0000 (+0000) Subject: trace is imported with from-import X-Git-Tag: sfa-0.9-0@14641~143 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7eb8c83b47a094da8bf7dbb0388e29cb131916d0;hp=1d15635c313f9fe13a977a347382ab716fd4e52b;p=sfa.git trace is imported with from-import --- diff --git a/sfa/trust/hierarchy.py b/sfa/trust/hierarchy.py index a6055de2..abb2328d 100644 --- a/sfa/trust/hierarchy.py +++ b/sfa/trust/hierarchy.py @@ -152,7 +152,7 @@ class Hierarchy: # @param create_parents if true, also create the parents if they do not exist def create_auth(self, hrn, create_parents=False): - report.trace("Hierarchy: creating authority: " + hrn) + trace("Hierarchy: creating authority: " + hrn) # create the parent authority if necessary parent_hrn = get_authority(hrn) @@ -195,7 +195,7 @@ class Hierarchy: # @param hrn the human readable name of the authority to create. def get_auth_info(self, hrn): - #report.trace("Hierarchy: getting authority: " + hrn) + #trace("Hierarchy: getting authority: " + hrn) if not self.auth_exists(hrn): raise MissingAuthority(hrn)