Fix i18n issue

This patch fix some i18n issues in the files vapi/compute_v2.py.

Change-Id: Ic4da472ca585a35ce64512cf0e72e2fe9d4c9d6e
This commit is contained in:
liuyamin 2018-11-13 17:04:59 +08:00
parent b90c780d2b
commit 4f66f66b6c
1 changed files with 1 additions and 1 deletions

View File

@ -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