From 13dc283bf59b602a37f26b480338c33f2991d645 Mon Sep 17 00:00:00 2001 From: "Luis A. Garcia" Date: Thu, 16 Jan 2014 00:01:05 +0000 Subject: [PATCH] Do not append to messages with + Some code was appending to translated messages using +, which oslo-incubator's new gettextutils doesn't support. The code was changed to use a substitution value in the message instead. Part of bp user-locale-api Change-Id: If2bc1821d0057c4cd53ead7eac1712284464b9bf --- neutron/plugins/bigswitch/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/bigswitch/plugin.py b/neutron/plugins/bigswitch/plugin.py index f9499d59c..e14db61c1 100644 --- a/neutron/plugins/bigswitch/plugin.py +++ b/neutron/plugins/bigswitch/plugin.py @@ -324,7 +324,7 @@ class ServerPool(object): ignore_codes = [404] resp = self.rest_call(action, resource, data, headers, ignore_codes) if self.server_failure(resp, ignore_codes): - LOG.error(_("NeutronRestProxyV2: ") + errstr, resp[2]) + LOG.error(errstr, resp[2]) raise RemoteRestError(reason=resp[2]) if resp[0] in ignore_codes: LOG.warning(_("NeutronRestProxyV2: Received and ignored error " -- 2.45.2