summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJackie Yuan <yj2311@126.com>2016-06-03 16:08:56 +0800
committerJackie Yuan <yj2311@126.com>2016-06-03 17:04:42 +0800
commit01ad9ab368508f6ef118af919417cb095f886dee (patch)
treef00c7c7347f3ce4e356c34945ac8c5b2edfc7ef8 /openstackclient
parent41f5521ee9d9fef549c75bbdc34c870646b5eb45 (diff)
downloadpython-openstackclient-01ad9ab368508f6ef118af919417cb095f886dee.tar.gz
Modify the style of translated messages
Translated messages should not be combined with orther literal strings to create partially translated message. Although this change is very small, but this is the only one in the directory VOLUME. Change-Id: If798aacde9d5d5e8ac2edd49e75099ec255c858e
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/volume/v2/volume_type.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py
index 96f13c83..200d9bd5 100644
--- a/openstackclient/volume/v2/volume_type.py
+++ b/openstackclient/volume/v2/volume_type.py
@@ -205,8 +205,8 @@ class SetVolumeType(command.Command):
try:
volume_type.set_keys(parsed_args.property)
except Exception as e:
- self.app.log.error(_("Failed to set volume type property: ") +
- str(e))
+ self.app.log.error(_("Failed to set volume type"
+ " property: %s") % str(e))
result += 1
if parsed_args.project: