summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-14 08:28:48 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-14 08:28:48 -0700
commit016a0b301e0ecfea5d84b09e7f1e22a86953c1c1 (patch)
tree8e97f2e2c69a1e4ec2f63ee4a417abaec7337f82 /openstackclient/identity/v3
parentd6c760263b5a7f77bbb35e31f92dd5a9140278ee (diff)
downloadpython-openstackclient-016a0b301e0ecfea5d84b09e7f1e22a86953c1c1.tar.gz
Fix flake8 errors in anticipation of flake8 patch.
Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
Diffstat (limited to 'openstackclient/identity/v3')
-rw-r--r--openstackclient/identity/v3/group.py3
-rw-r--r--openstackclient/identity/v3/project.py3
-rw-r--r--openstackclient/identity/v3/user.py3
3 files changed, 6 insertions, 3 deletions
diff --git a/openstackclient/identity/v3/group.py b/openstackclient/identity/v3/group.py
index 3a9b80ed..0562b766 100644
--- a/openstackclient/identity/v3/group.py
+++ b/openstackclient/identity/v3/group.py
@@ -16,6 +16,7 @@
"""Group action implementations"""
import logging
+import sys
from cliff import command
from cliff import lister
@@ -157,7 +158,7 @@ class SetGroup(command.Command):
kwargs['domain'] = domain
if not len(kwargs):
- stdout.write("Group not updated, no arguments present")
+ sys.stdout.write("Group not updated, no arguments present")
return
identity_client.groups.update(group.id, **kwargs)
return
diff --git a/openstackclient/identity/v3/project.py b/openstackclient/identity/v3/project.py
index d1e67acc..84271cd9 100644
--- a/openstackclient/identity/v3/project.py
+++ b/openstackclient/identity/v3/project.py
@@ -16,6 +16,7 @@
"""Project action implementations"""
import logging
+import sys
from cliff import command
from cliff import lister
@@ -189,7 +190,7 @@ class SetProject(command.Command):
kwargs['enabled'] = parsed_args.enabled
if kwargs == {}:
- stdout.write("Project not updated, no arguments present")
+ sys.stdout.write("Project not updated, no arguments present")
return
project.update(**kwargs)
return
diff --git a/openstackclient/identity/v3/user.py b/openstackclient/identity/v3/user.py
index bf592d81..7bd37065 100644
--- a/openstackclient/identity/v3/user.py
+++ b/openstackclient/identity/v3/user.py
@@ -16,6 +16,7 @@
"""Identity v3 User action implementations"""
import logging
+import sys
from cliff import command
from cliff import lister
@@ -215,7 +216,7 @@ class SetUser(command.Command):
kwargs['enabled'] = parsed_args.enabled
if not len(kwargs):
- stdout.write("User not updated, no arguments present")
+ sys.stdout.write("User not updated, no arguments present")
return
identity_client.users.update(user.id, **kwargs)
return