From 01ad9ab368508f6ef118af919417cb095f886dee Mon Sep 17 00:00:00 2001 From: Jackie Yuan Date: Fri, 3 Jun 2016 16:08:56 +0800 Subject: [PATCH] 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 --- openstackclient/volume/v2/volume_type.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py index 96f13c830c..200d9bd51a 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: