Add a hacking rule for string interpolation at logging
String interpolation should be delayed to be handled
by the logging code, rather than being done
at the point of the logging call.
So add the following hacking rule for it.
- [N354] String interpolation should be delayed at logging calls.
Reviewed: https:/ /review. openstack. org/334844 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4eb89c206e6 8a7172ebad897ad 24769036c7bdd6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4eb89c206e68a71 72ebad897ad2476 9036c7bdd6
Author: Takashi NATSUME <email address hidden>
Date: Tue Jun 28 16:42:31 2016 +0900
Add a hacking rule for string interpolation at logging
String interpolation should be delayed to be handled
by the logging code, rather than being done
at the point of the logging call.
So add the following hacking rule for it.
- [N354] String interpolation should be delayed at logging calls.
See the oslo i18n guideline.
* http:// docs.openstack. org/developer/ oslo.i18n/ guidelines. html
Change-Id: Ief6d3ee3539c08 57098fffdb7acfe ec3e0fed6eb
Closes-Bug: #1596829