From: Josh Karlin Date: Wed, 5 May 2010 18:56:48 +0000 (+0000) Subject: removing some spurious print statements X-Git-Tag: geni-apiv1-totrunk~24 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fab55b4502d0ba279feff52161392384347ee0f3;p=sfa.git removing some spurious print statements --- diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index 655d4e0b..5b792471 100755 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -689,7 +689,6 @@ class Sfi: record_filepath = args[0] rec_file = self.get_record_file(record_filepath) record = load_record_from_file(rec_file).as_dict() - print record return self.registry.register(auth_cred, record) # update named registry entry diff --git a/sfa/managers/registry_manager_pl.py b/sfa/managers/registry_manager_pl.py index 5ef992c9..8a97a3fd 100644 --- a/sfa/managers/registry_manager_pl.py +++ b/sfa/managers/registry_manager_pl.py @@ -19,7 +19,6 @@ def get_credential(api, xrn, type, is_self=False): else: hrn, type = urn_to_hrn(xrn) - api.logger.info("Getting credential for " + xrn) # Is this a root or sub authority auth_hrn = api.auth.get_authority(hrn) if not auth_hrn or hrn == api.config.SFA_INTERFACE_HRN: diff --git a/sfa/methods/get_credential.py b/sfa/methods/get_credential.py index 01b7deed..09c790d7 100644 --- a/sfa/methods/get_credential.py +++ b/sfa/methods/get_credential.py @@ -10,7 +10,6 @@ from sfa.util.parameter import Parameter, Mixed from sfa.util.debug import log from sfa.trust.credential import Credential -from sfa.util.sfalogging import logger class get_credential(Method): """ diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index b1ba623e..470dc5e2 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -238,7 +238,6 @@ class Auth: rl = RightList() type = record['type'] - logger.info("caller_hrn = " + caller_hrn + " type = " + type) if type=="slice": researchers = record.get("researcher", []) @@ -253,7 +252,6 @@ class Auth: elif type == "authority": pis = record.get("PI", []) operators = record.get("operator", []) - logger.info("pis = " + str(pis) + " ops = " + str(operators)) if (caller_hrn == self.config.SFA_INTERFACE_HRN): rl.add("authority") rl.add("sa")