From 4f66f66b6c80206e3d432f74c3763ffe2e5c2949 Mon Sep 17 00:00:00 2001 From: liuyamin Date: Tue, 13 Nov 2018 17:04:59 +0800 Subject: [PATCH] Fix i18n issue This patch fix some i18n issues in the files vapi/compute_v2.py. Change-Id: Ic4da472ca585a35ce64512cf0e72e2fe9d4c9d6e --- openstackclient/api/compute_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstackclient/api/compute_v2.py b/openstackclient/api/compute_v2.py index 0c89e9126..7dc4e4468 100644 --- a/openstackclient/api/compute_v2.py +++ b/openstackclient/api/compute_v2.py @@ -52,7 +52,7 @@ class APIv2(api.BaseAPI): value = int(value) except (TypeError, ValueError): if not msg: - msg = "%s is not an integer" % value + msg = _("%s is not an integer") % value raise InvalidValue(msg) return value