Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of self.__dict__ for message var replacement
This is the same as using locals() for variable replacement in a log message which violates hacking rule H501. On Cinder this actually caused the cinder-api process to hang on python 2.6. Nova has the same code so this fixes the hacking violation. Note that the H501 rule was updated in commit 55e96ee but it's not in a released version of hacking yet (and won't be in time for Juno). Closes-Bug: #1365901 Change-Id: I1be0db327a2fa1e866328eecd2e7c3dd3ee3cc93
- Loading branch information
Matt Riedemann
committed
Sep 25, 2014
1 parent
f2d486d
commit 59576bc
Showing
3 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters