From: Thierry Parmentelat Date: Fri, 23 May 2014 06:28:28 +0000 (+0200) Subject: cosmetic X-Git-Tag: sfa-3.1-5~21^2~1 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=e779214b776e8925c441ed9df301adf57b4a066f cosmetic --- 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: