commit 43cf9864b9091319612926a01b07045806cfce49
Author: Changbin Liu <email address hidden>
Date: Wed Jun 19 12:09:28 2013 -0400
Remove usage of locals() for formatting from nova.scheduler.*
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/33671 github. com/openstack/ nova/commit/ 43cf9864b909131 9612926a01b0704 5806cfce49
Committed: http://
Submitter: Jenkins
Branch: master
commit 43cf9864b909131 9612926a01b0704 5806cfce49
Author: Changbin Liu <email address hidden>
Date: Wed Jun 19 12:09:28 2013 -0400
Remove usage of locals() for formatting from nova.scheduler.*
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: I7639631846a914 5c3a18f2a704b71 184ec781f45