From e779214b776e8925c441ed9df301adf57b4a066f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 23 May 2014 08:28:28 +0200 Subject: [PATCH] cosmetic --- sfa/trust/speaksfor_util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sfa/trust/speaksfor_util.py b/sfa/trust/speaksfor_util.py index bd121951..78194967 100644 --- a/sfa/trust/speaksfor_util.py +++ b/sfa/trust/speaksfor_util.py @@ -124,8 +124,8 @@ def grab_toplevel_cert(cert): # String user certificate of speaking_for user if the above tests succeed # (None otherwise) # Error message indicating why the speaks_for call failed ("" otherwise) -def verify_speaks_for(cred, tool_gid, speaking_for_urn, \ - trusted_roots, schema=None, logger=None): +def verify_speaks_for(cred, tool_gid, speaking_for_urn, + trusted_roots, schema=None, logger=None): # Credential has not expired if cred.expiration and cred.expiration < datetime.datetime.utcnow(): @@ -239,8 +239,8 @@ def verify_speaks_for(cred, tool_gid, speaking_for_urn, \ # trusted_roots is a list of Certificate objects from the system # trusted_root directory # Optionally, provide an XML schema against which to validate the credential -def determine_speaks_for(logger, credentials, caller_gid, options, \ - trusted_roots, schema=None): +def determine_speaks_for(logger, credentials, caller_gid, options, + trusted_roots, schema=None): logger.info(options) logger.info("geni speaking for:%s " % 'geni_speaking_for' in options) if options and 'geni_speaking_for' in options: -- 2.43.0