Fix i18n issue
This patch fix some i18n issues in the files vapi/compute_v2.py. Change-Id: Ic4da472ca585a35ce64512cf0e72e2fe9d4c9d6e
This commit is contained in:
		| @@ -52,7 +52,7 @@ class APIv2(api.BaseAPI): | |||||||
|             value = int(value) |             value = int(value) | ||||||
|         except (TypeError, ValueError): |         except (TypeError, ValueError): | ||||||
|             if not msg: |             if not msg: | ||||||
|                 msg = "%s is not an integer" % value |                 msg = _("%s is not an integer") % value | ||||||
|             raise InvalidValue(msg) |             raise InvalidValue(msg) | ||||||
|         return value |         return value | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 liuyamin
					liuyamin