summaryrefslogtreecommitdiff
path: root/keystoneclient/contrib
diff options
context:
space:
mode:
authorMorgan Fainberg <morgan.fainberg@gmail.com>2017-08-07 13:13:31 -0700
committerMorgan Fainberg <morgan.fainberg@gmail.com>2017-08-07 13:14:55 -0700
commit4a43aa02b86e3203bb6614382ef598926a1464cb (patch)
treed4382b1c9460778afda33621af978c2c3bec3edf /keystoneclient/contrib
parent5d0c29fc912caf18e78e6e153d3af4e554dfb0de (diff)
downloadpython-keystoneclient-4a43aa02b86e3203bb6614382ef598926a1464cb.tar.gz
Remove use of positional decorator
The positional decorator results in poorly maintainable code in a misguided effort to emulate python3's key-word-arg only notation and functionality. This patch removes keystoneclient's dependance on the positional decorator. Change-Id: I9e691cc8b0c04992f4a8dabd67e1b413d3220d23
Diffstat (limited to 'keystoneclient/contrib')
-rw-r--r--keystoneclient/contrib/auth/v3/oidc.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/keystoneclient/contrib/auth/v3/oidc.py b/keystoneclient/contrib/auth/v3/oidc.py
index 957c50e..3884293 100644
--- a/keystoneclient/contrib/auth/v3/oidc.py
+++ b/keystoneclient/contrib/auth/v3/oidc.py
@@ -11,7 +11,6 @@
# under the License.
from oslo_config import cfg
-from positional import positional
from keystoneclient import access
from keystoneclient.auth.identity.v3 import federated
@@ -42,7 +41,6 @@ class OidcPassword(federated.FederatedBaseAuth):
])
return options
- @positional(4)
def __init__(self, auth_url, identity_provider, protocol,
username, password, client_id, client_secret,
access_token_endpoint, scope='profile',