summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/user.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-18 22:15:31 +0000
committerGerrit Code Review <review@openstack.org>2016-07-18 22:15:31 +0000
commit13f1aa9b81be810dd1dee4ef077313ff944c7e67 (patch)
treec51bfe02edaab81fec663f1649bd3419f1b1008d /openstackclient/identity/v3/user.py
parent099c3bbd8268a39b83507d0b3b051f89b2051730 (diff)
parente5a3c403e5982df8ab6a29d84c45aa2f8f3a10dc (diff)
downloadpython-openstackclient-13f1aa9b81be810dd1dee4ef077313ff944c7e67.tar.gz
Merge "Make set/unset commands pass normally when nothing specified in identityv3"
Diffstat (limited to 'openstackclient/identity/v3/user.py')
-rwxr-xr-xopenstackclient/identity/v3/user.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/openstackclient/identity/v3/user.py b/openstackclient/identity/v3/user.py
index 3e189ac1..dc47ef8d 100755
--- a/openstackclient/identity/v3/user.py
+++ b/openstackclient/identity/v3/user.py
@@ -17,7 +17,6 @@
import copy
import logging
-import sys
from keystoneauth1 import exceptions as ks_exc
from osc_lib.command import command
@@ -330,18 +329,6 @@ class SetUser(command.Command):
if parsed_args.password_prompt:
parsed_args.password = utils.get_password(self.app.stdin)
- if (not parsed_args.name
- and not parsed_args.name
- and not parsed_args.password
- and not parsed_args.email
- and not parsed_args.project
- and not parsed_args.description
- and not parsed_args.enable
- and not parsed_args.disable):
- sys.stderr.write(_("Incorrect set of arguments provided. "
- "See openstack --help for more details\n"))
- return
-
user = utils.find_resource(
identity_client.users,
parsed_args.user,