X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fspeaksfor_util.py;fp=sfa%2Ftrust%2Fspeaksfor_util.py;h=781949676a7d998725009e94cafd262fa0928168;hb=e779214b776e8925c441ed9df301adf57b4a066f;hp=bd121951d8beafd64f506eebb9e113fafdb085be;hpb=17223926c16a4f9779078236c6460ab9477f9d72;p=sfa.git 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: