removing some spurious print statements
authorJosh Karlin <jkarlin@bbn.com>
Wed, 5 May 2010 18:56:48 +0000 (18:56 +0000)
committerJosh Karlin <jkarlin@bbn.com>
Wed, 5 May 2010 18:56:48 +0000 (18:56 +0000)
sfa/client/sfi.py
sfa/managers/registry_manager_pl.py
sfa/methods/get_credential.py
sfa/trust/auth.py

index 655d4e0..5b79247 100755 (executable)
@@ -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
index 5ef992c..8a97a3f 100644 (file)
@@ -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:
index 01b7dee..09c790d 100644 (file)
@@ -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):
     """
index b1ba623..470dc5e 100644 (file)
@@ -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")