diff options
Diffstat (limited to 'openstackclient/identity/v3/policy.py')
| -rw-r--r-- | openstackclient/identity/v3/policy.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/identity/v3/policy.py b/openstackclient/identity/v3/policy.py index 68fb2738..79215cab 100644 --- a/openstackclient/identity/v3/policy.py +++ b/openstackclient/identity/v3/policy.py @@ -15,8 +15,6 @@ """Identity v3 Policy action implementations""" -import sys - from osc_lib.command import command from osc_lib import utils import six @@ -136,9 +134,6 @@ class SetPolicy(command.Command): if parsed_args.type: kwargs['type'] = parsed_args.type - if not kwargs: - sys.stdout.write(_('Policy not updated, no arguments present\n')) - return identity_client.policies.update(parsed_args.policy, **kwargs) |
