cosmetic
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 23 May 2014 06:28:28 +0000 (08:28 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 23 May 2014 06:28:28 +0000 (08:28 +0200)
sfa/trust/speaksfor_util.py

index bd12195..7819496 100644 (file)
@@ -124,8 +124,8 @@ def grab_toplevel_cert(cert):
 #   String user certificate of speaking_for user if the above tests succeed\r
 #      (None otherwise)\r
 #   Error message indicating why the speaks_for call failed ("" otherwise)\r
-def verify_speaks_for(cred, tool_gid, speaking_for_urn, \\r
-                          trusted_roots, schema=None, logger=None):\r
+def verify_speaks_for(cred, tool_gid, speaking_for_urn,\r
+                      trusted_roots, schema=None, logger=None):\r
 \r
     # Credential has not expired\r
     if cred.expiration and cred.expiration < datetime.datetime.utcnow():\r
@@ -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\r
 #   trusted_root directory\r
 # Optionally, provide an XML schema against which to validate the credential\r
-def determine_speaks_for(logger, credentials, caller_gid, options, \\r
-                             trusted_roots, schema=None):\r
+def determine_speaks_for(logger, credentials, caller_gid, options,\r
+                         trusted_roots, schema=None):\r
     logger.info(options)\r
     logger.info("geni speaking for:%s " % 'geni_speaking_for' in options)  \r
     if options and 'geni_speaking_for' in options:\r