summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/domain.py
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-13 19:28:11 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-14 14:12:30 +0800
commite5a3c403e5982df8ab6a29d84c45aa2f8f3a10dc (patch)
tree2d7193578982da96f0de34625e869b415a472bec /openstackclient/identity/v3/domain.py
parent5a21eb25558c4820bdf1eec3f0d25fca00e7fd24 (diff)
downloadpython-openstackclient-e5a3c403e5982df8ab6a29d84c45aa2f8f3a10dc.tar.gz
Make set/unset commands pass normally when nothing specified in identityv3
Change-Id: I554b41969f96b62a2c6d37024caa56b1441d5ed1 Partial-bug: #1588588
Diffstat (limited to 'openstackclient/identity/v3/domain.py')
-rwxr-xr-xopenstackclient/identity/v3/domain.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/identity/v3/domain.py b/openstackclient/identity/v3/domain.py
index 0546ac52..3e9bcf63 100755
--- a/openstackclient/identity/v3/domain.py
+++ b/openstackclient/identity/v3/domain.py
@@ -16,7 +16,6 @@
"""Identity v3 Domain action implementations"""
import logging
-import sys
from keystoneauth1 import exceptions as ks_exc
from osc_lib.command import command
@@ -168,9 +167,6 @@ class SetDomain(command.Command):
if parsed_args.disable:
kwargs['enabled'] = False
- if not kwargs:
- sys.stdout.write(_("Domain not updated, no arguments present\n"))
- return
identity_client.domains.update(domain.id, **kwargs)