]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Correct arguments to logging function
authorAngus Lees <gus@inodes.org>
Wed, 17 Dec 2014 04:07:28 +0000 (15:07 +1100)
committerAngus Lees <gus@inodes.org>
Wed, 17 Dec 2014 04:07:28 +0000 (15:07 +1100)
commit79f89db7fef191e22f0494b468a099edd6f0d611
tree16a65407dd02c8f89cb8e3c8ec9dbc43fd5e951d
parentfffc6e4712328574a8fe42d7b7520c0dace2b6b7
Correct arguments to logging function

ofctl_arg_supported contains a bad call to LOG.debug in an exception
path.

    LOG.debug("...%s. Exception: %s", (full_args, e))

This throws "TypeError: not enough arguments for format string" and
should be:

    LOG.debug("...%s. Exception: %s", full_args, e)

(Found via pylint)

Change-Id: Ib14666f60b16584f225b1e0c4fed82ef7e941aac
Closes-Bug: #1403296
neutron/cmd/sanity/checks.py