diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-05-17 17:38:51 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-05-18 00:04:17 +0400 |
commit | 2dce8c92f6cfc4fb5d6a455fe13cbc0ed6d72882 (patch) | |
tree | 2bee70e0e0d4847b20dad29500600825b20c06d7 /nova/wsgi.py | |
parent | f124d50024fbddb56733831149012f6f4c9c3e6e (diff) | |
download | nova-2dce8c92f6cfc4fb5d6a455fe13cbc0ed6d72882.tar.gz nova-2dce8c92f6cfc4fb5d6a455fe13cbc0ed6d72882.tar.xz nova-2dce8c92f6cfc4fb5d6a455fe13cbc0ed6d72882.zip |
Remove usage of locals() for formatting from nova.api.*
Using of locals() for formatting string is a nasty thing because:
1) It is not so clear as using explicit dicts
2) It could produce hidden errors during refactoring
3) Changing name of variable causes change in message
4) Creating a lot of unused variables
fixes bug 1171936
Change-Id: I293d7ebb875f65cce322d4938d1ae323f3aded8d
Diffstat (limited to 'nova/wsgi.py')
0 files changed, 0 insertions, 0 deletions