Network: add in missing translation

Commit 46922068ac added an exception
that was not translated.

TrivialFix

Change-Id: I8b0dad531cc24f07ccf5b496911a3d001d1322ca
This commit is contained in:
Gary Kotton
2015-11-15 01:49:10 -08:00
parent 876679c08f
commit 8104615799

View File

@@ -936,9 +936,9 @@ class API(base_api.NetworkAPI):
if ((networks is None and port_ids is not None) or
(port_ids is None and networks is not None)):
message = ("This method needs to be called with either "
"networks=None and port_ids=None or port_ids and "
" networks as not none.")
message = _("This method needs to be called with either "
"networks=None and port_ids=None or port_ids and "
"networks as not none.")
raise exception.NovaException(message=message)
ifaces = compute_utils.get_nw_info_for_instance(instance)