From 4a43aa02b86e3203bb6614382ef598926a1464cb Mon Sep 17 00:00:00 2001 From: Morgan Fainberg Date: Mon, 7 Aug 2017 13:13:31 -0700 Subject: 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 --- keystoneclient/auth/cli.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'keystoneclient/auth/cli.py') 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. -- cgit v1.2.1