commit a80003cd49282a41fa313a679e72d237ef51c76e
Author: Haomai Wang <email address hidden>
Date: Sun Jun 16 13:21:20 2013 +0800
Remove usage of locals() for formatting from cinder.volume.*
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/33185 github. com/openstack/ cinder/ commit/ a80003cd49282a4 1fa313a679e72d2 37ef51c76e
Committed: http://
Submitter: Jenkins
Branch: master
commit a80003cd49282a4 1fa313a679e72d2 37ef51c76e
Author: Haomai Wang <email address hidden>
Date: Sun Jun 16 13:21:20 2013 +0800
Remove usage of locals() for formatting from cinder.volume.*
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: I806c530851527d b9da251352be45b 97c183241a8