summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/consumer.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/identity/v3/consumer.py')
-rw-r--r--openstackclient/identity/v3/consumer.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstackclient/identity/v3/consumer.py b/openstackclient/identity/v3/consumer.py
index a4620bf9..65bf657f 100644
--- a/openstackclient/identity/v3/consumer.py
+++ b/openstackclient/identity/v3/consumer.py
@@ -15,8 +15,6 @@
"""Identity v3 Consumer action implementations"""
-import sys
-
from osc_lib.command import command
from osc_lib import utils
import six
@@ -102,10 +100,6 @@ class SetConsumer(command.Command):
if parsed_args.description:
kwargs['description'] = parsed_args.description
- if not len(kwargs):
- sys.stdout.write(_('Consumer not updated, no arguments present\n'))
- return
-
consumer = identity_client.oauth1.consumers.update(
consumer.id, **kwargs)