commit 729a08a019837bf4a5cbce5eee46a0a6e8e12acd
Author: Haomai Wang <email address hidden>
Date: Mon Jun 24 14:03:31 2013 +0800
Remove usage of locals() for formatting from cinder.tests.*
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/34163 github. com/openstack/ cinder/ commit/ 729a08a019837bf 4a5cbce5eee46a0 a6e8e12acd
Committed: http://
Submitter: Jenkins
Branch: master
commit 729a08a019837bf 4a5cbce5eee46a0 a6e8e12acd
Author: Haomai Wang <email address hidden>
Date: Mon Jun 24 14:03:31 2013 +0800
Remove usage of locals() for formatting from cinder.tests.*
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: I67aa5bff650b55 484ca76adf5be85 55f72a4c426