Cisco: logging incorrectly called with (fmt, arg) tuple
Bug #1404785 reported by
Angus Lees
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Angus Lees |
Bug Description
cisco.db.
lines:
msg = (_("NetworkProfile name %s already exists"),
LOG.error(msg)
raise n_exc.InvalidIn
As written, msg is a tuple, and the various logging lines below print
the tuple members without properly expanding the format string as
intended.
The format in msg should have been expanded using % - as was
presumably the intention. There are few other examples of this
elsewhere in this file.
Changed in neutron: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/143353
Review: https:/