summaryrefslogtreecommitdiff
path: root/keystoneclient/auth/cli.py
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/auth/cli.py
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/auth/cli.py')
-rw-r--r--keystoneclient/auth/cli.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/keystoneclient/auth/cli.py b/keystoneclient/auth/cli.py
index 1b8e054..d18baec 100644
--- a/keystoneclient/auth/cli.py
+++ b/keystoneclient/auth/cli.py
@@ -14,7 +14,6 @@ import argparse
import os
from debtcollector import removals
-from positional import positional
from keystoneclient.auth import base
@@ -24,7 +23,6 @@ from keystoneclient.auth import base
version='2.1.0',
removal_version='3.0.0'
)
-@positional()
def register_argparse_arguments(parser, argv, default=None):
"""Register CLI options needed to create a plugin.