summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2018-12-11 14:27:39 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2018-12-11 14:27:39 +0200
commit8a7e66325c158d1448fb92f7f8c63a87043f4374 (patch)
treed783506ee7cbcaadd538919842a0c325b8c70744
parent698f399aca31db6741e5de144df0d20e319d8d73 (diff)
downloadpysaml2-8a7e66325c158d1448fb92f7f8c63a87043f4374.tar.gz
Remove whitespace
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r--docs/howto/config.rst4
-rw-r--r--src/saml2/mdstore.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/howto/config.rst b/docs/howto/config.rst
index de58ce99..db0570a9 100644
--- a/docs/howto/config.rst
+++ b/docs/howto/config.rst
@@ -183,7 +183,7 @@ the client key in an HTTPS session.
metadata
^^^^^^^^
-Contains a list of places where metadata can be found. This can be
+Contains a list of places where metadata can be found. This can be
* a local file accessible on the server the service runs on
* a remote URL serving aggregate metadata
@@ -209,7 +209,7 @@ For example::
The above configuration means that the service should read two aggregate local
metadata files, one aggregate metadata file from a remote server, and query a
-remote MDQ server. To verify the authenticity of the metadata aggregate downloaded from the
+remote MDQ server. To verify the authenticity of the metadata aggregate downloaded from the
remot server and the MDQ server local copies of the metadata signing certificates should be used.
These public keys must be acquired by some secure out-of-band method before being
placed on the local file system.
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py
index 27874606..f5ffbb41 100644
--- a/src/saml2/mdstore.py
+++ b/src/saml2/mdstore.py
@@ -781,8 +781,8 @@ SAML_METADATA_CONTENT_TYPE = 'application/samlmetadata+xml'
class MetaDataMDX(InMemoryMetaData):
"""
Uses the MDQ protocol to fetch entity information.
- The protocol is defined at
- https://datatracker.ietf.org/doc/draft-young-md-query-saml/
+ The protocol is defined at:
+ https://datatracker.ietf.org/doc/draft-young-md-query-saml/
"""
@staticmethod
@@ -790,7 +790,7 @@ class MetaDataMDX(InMemoryMetaData):
return "{{sha1}}{}".format(
hashlib.sha1(entity_id.encode("utf-8")).hexdigest())
- def __init__(self, url=None, security=None, cert=None,
+ def __init__(self, url=None, security=None, cert=None,
entity_transform=None, **kwargs):
"""
:params url: mdx service url