commit 08aab97ced8763597329da56a64ef950f8567f4c
Author: Haomai Wang <email address hidden>
Date: Fri Jun 14 15:11:29 2013 +0800
Remove usage of locals() for formatting from cinder.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/33010 github. com/openstack/ cinder/ commit/ 08aab97ced87635 97329da56a64ef9 50f8567f4c
Committed: http://
Submitter: Jenkins
Branch: master
commit 08aab97ced87635 97329da56a64ef9 50f8567f4c
Author: Haomai Wang <email address hidden>
Date: Fri Jun 14 15:11:29 2013 +0800
Remove usage of locals() for formatting from cinder.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
Fix bug 1171936
Change-Id: Id6a900899db328 be067b8139a49c1 2ce802dd415