diff options
author | Navid Pustchi <npustchi@gmail.com> | 2016-05-02 16:29:24 +0000 |
---|---|---|
committer | Navid Pustchi <npustchi@gmail.com> | 2016-05-02 16:31:33 +0000 |
commit | a7b65bed8f36fe80eda4526ad24ef0cfee5d462c (patch) | |
tree | 9aefcbaea132f2040e7c1a1403cf2466cdfcfda6 /keystoneclient/contrib | |
parent | a4ca83b840b831e1324eef6c517065b92575b558 (diff) | |
download | python-keystoneclient-a7b65bed8f36fe80eda4526ad24ef0cfee5d462c.tar.gz |
Fixing D301 PEP257 violation.
Currently tox ignores D301.
D301: Use r”“” if any backslashes in adocstring.
This change removes D301 ignore and fix violations.
Change-Id: I9dbe2c9d59e2c2d8585a53840a579a9b9c57a09c
Diffstat (limited to 'keystoneclient/contrib')
-rw-r--r-- | keystoneclient/contrib/auth/v3/oidc.py | 2 | ||||
-rw-r--r-- | keystoneclient/contrib/auth/v3/saml2.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/contrib/auth/v3/oidc.py b/keystoneclient/contrib/auth/v3/oidc.py index fc3a356..3c9f6d9 100644 --- a/keystoneclient/contrib/auth/v3/oidc.py +++ b/keystoneclient/contrib/auth/v3/oidc.py @@ -184,7 +184,7 @@ class OidcPassword(federated.FederatedBaseAuth): return op_response def _get_keystone_token(self, session, headers, federated_token_url): - """Exchange an acess token for a keystone token. + r"""Exchange an acess token for a keystone token. By Sending the access token in an `Authorization: Bearer` header, to an OpenID Connect protected endpoint (Federated Token URL). The diff --git a/keystoneclient/contrib/auth/v3/saml2.py b/keystoneclient/contrib/auth/v3/saml2.py index bc8f11e..a519458 100644 --- a/keystoneclient/contrib/auth/v3/saml2.py +++ b/keystoneclient/contrib/auth/v3/saml2.py @@ -88,7 +88,7 @@ class Saml2UnscopedTokenAuthMethod(v3.AuthMethod): class Saml2UnscopedToken(_BaseSAMLPlugin): - """Implement authentication plugin for SAML2 protocol. + r"""Implement authentication plugin for SAML2 protocol. ECP stands for `Enhanced Client or Proxy` and is a SAML2 extension for federated authentication where a transportation layer consists of |