← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1398839] Re: Avoid unnecessary explicit str() conversion around exceptions

 

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

** Changed in: neutron
    Milestone: None => kilo-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/1398839

Title:
  Avoid unnecessary explicit str() conversion around exceptions

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  There are number of places like

  except Exception as exc:
              LOG.error("Failed to get network: %s", str(exc))

  where str() is not needed since %s substitution already does the same
  conversion.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1398839/+subscriptions


References