commit 2dce8c92f6cfc4fb5d6a455fe13cbc0ed6d72882
Author: Boris Pavlovic <email address hidden>
Date: Fri May 17 17:38:51 2013 +0400
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
Reviewed: https:/ /review. openstack. org/27640 github. com/openstack/ nova/commit/ 2dce8c92f6cfc4f b5d6a455fe13cbc 0ed6d72882
Committed: http://
Submitter: Jenkins
Branch: master
commit 2dce8c92f6cfc4f b5d6a455fe13cbc 0ed6d72882
Author: Boris Pavlovic <email address hidden>
Date: Fri May 17 17:38:51 2013 +0400
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 cce322d4938d1ae 323f3aded8d
Change-Id: I293d7ebb875f65