← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264210] Re: ValueError should use '%' instead of ', '

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-2

-- 
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):
  Fix Released

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


References