diff options
| author | Jamie Lennox <jamielennox@redhat.com> | 2014-04-04 08:09:43 +1000 |
|---|---|---|
| committer | Jamie Lennox <jamielennox@redhat.com> | 2014-04-04 08:09:43 +1000 |
| commit | 022b6d95d167405fa6534680c8a7fe449b35ce77 (patch) | |
| tree | a5946810a71acc78f9df8e66cd1a1c91997f8e3a /openstackclient/identity/v3/policy.py | |
| parent | ee22070473dab8bfa3e89d47f1f5a77918c2b026 (diff) | |
| download | python-openstackclient-022b6d95d167405fa6534680c8a7fe449b35ce77.tar.gz | |
Pass arguments to v3 keystoneclient by kwarg
Keystoneclient has added the positional decorator which emits a warning
if arguments aren't passed by keyword. This means we are getting
warnings in certain places in openstackclient.
Change-Id: Ic5446cd6f122cbb56fce543011386d53bc31fe18
Closes-Bug: #1302199
Diffstat (limited to 'openstackclient/identity/v3/policy.py')
| -rw-r--r-- | openstackclient/identity/v3/policy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/identity/v3/policy.py b/openstackclient/identity/v3/policy.py index a760d8cd..249ba1ee 100644 --- a/openstackclient/identity/v3/policy.py +++ b/openstackclient/identity/v3/policy.py @@ -52,7 +52,7 @@ class CreatePolicy(show.ShowOne): identity_client = self.app.client_manager.identity policy = identity_client.policies.create( - blob, type=parsed_args.type + blob=blob, type=parsed_args.type ) return zip(*sorted(six.iteritems(policy._info))) |
