yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07756
[Bug 1264210] [NEW] ValueError should use '%' instead of ', '
Public bug reported:
The method _load_service_plugins() in /neutron/neutron/managers.py
raise ValueError exception as follows:
if plugin_inst.get_plugin_type() in self.service_plugins:
raise ValueError(_("Multiple plugins for service "
"%s were configured"),
plugin_inst.get_plugin_type())
ValueError do not support using ',' to connect log and variables,
we should use '%' instead, so it should be modified as:
if plugin_inst.get_plugin_type() in self.service_plugins:
raise ValueError(_("Multiple plugins for service "
"%s were configured") %
plugin_inst.get_plugin_type())
** Affects: neutron
Importance: Undecided
Assignee: Haojie Jia (jiahaojie)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Haojie Jia (jiahaojie)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1264210
Title:
ValueError should use '%' instead of ','
Status in OpenStack Neutron (virtual network service):
New
Bug description:
The method _load_service_plugins() in /neutron/neutron/managers.py
raise ValueError exception as follows:
if plugin_inst.get_plugin_type() in self.service_plugins:
raise ValueError(_("Multiple plugins for service "
"%s were configured"),
plugin_inst.get_plugin_type())
ValueError do not support using ',' to connect log and variables,
we should use '%' instead, so it should be modified as:
if plugin_inst.get_plugin_type() in self.service_plugins:
raise ValueError(_("Multiple plugins for service "
"%s were configured") %
plugin_inst.get_plugin_type())
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1264210/+subscriptions
Follow ups
References