diff options
author | Steve Martinelli <stevemar@ca.ibm.com> | 2016-01-25 01:48:16 -0500 |
---|---|---|
committer | Steve Martinelli <stevemar@ca.ibm.com> | 2016-01-25 01:54:35 -0500 |
commit | 81fdaabf3fd73b6ed7fc8e8b4eb550d9206c017a (patch) | |
tree | 56d7cafd244a46fac39c75b94b2b55d38d475217 /keystoneclient/v2_0 | |
parent | 056740cd2d0513c7f79d459c8c78c3133c43adef (diff) | |
download | python-keystoneclient-81fdaabf3fd73b6ed7fc8e8b4eb550d9206c017a.tar.gz |
use positional library instead of utils
swap instances of utils.positional with the positional library.
Change-Id: Id8a9961e68d287a802f25512fc970829e9feb5c2
Diffstat (limited to 'keystoneclient/v2_0')
-rw-r--r-- | keystoneclient/v2_0/tokens.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keystoneclient/v2_0/tokens.py b/keystoneclient/v2_0/tokens.py index 27006f4..bf3a209 100644 --- a/keystoneclient/v2_0/tokens.py +++ b/keystoneclient/v2_0/tokens.py @@ -10,12 +10,13 @@ # License for the specific language governing permissions and limitations # under the License. +from positional import positional + from keystoneclient import access from keystoneclient import auth from keystoneclient import base from keystoneclient import exceptions from keystoneclient.i18n import _ -from keystoneclient import utils class Token(base.Resource): @@ -38,7 +39,7 @@ class Token(base.Resource): class TokenManager(base.Manager): resource_class = Token - @utils.positional(enforcement=utils.positional.WARN) + @positional(enforcement=positional.WARN) def authenticate(self, username=None, tenant_id=None, tenant_name=None, password=None, token=None, return_raw=False): if token: |