summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v1
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/volume/v1')
-rw-r--r--openstackclient/volume/v1/quota.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/volume/v1/quota.py b/openstackclient/volume/v1/quota.py
index ae6c50f5..4f4e97e8 100644
--- a/openstackclient/volume/v1/quota.py
+++ b/openstackclient/volume/v1/quota.py
@@ -16,6 +16,7 @@
"""Volume v1 Quota action implementations"""
import logging
+import sys
from cliff import command
from cliff import show
@@ -79,7 +80,7 @@ class SetQuota(command.Command):
kwargs['gigabytes'] = parsed_args.gigabytes
if kwargs == {}:
- stdout.write("Quota not updated, no arguments present")
+ sys.stdout.write("Quota not updated, no arguments present")
return
volume_client = self.app.client_manager.volume