diff options
author | Changbin Liu <changbin.liu@gmail.com> | 2013-06-19 12:09:28 -0400 |
---|---|---|
committer | Changbin Liu <changbin.liu@gmail.com> | 2013-06-19 13:41:07 -0400 |
commit | 43cf9864b9091319612926a01b07045806cfce49 (patch) | |
tree | 0f6cddb1e69396e863ad4fcd228bd528527218ec /nova/utils.py | |
parent | 6808e052dbe9bc51b5836814d0a0331dcc5a6bd2 (diff) | |
download | nova-43cf9864b9091319612926a01b07045806cfce49.tar.gz nova-43cf9864b9091319612926a01b07045806cfce49.tar.xz nova-43cf9864b9091319612926a01b07045806cfce49.zip |
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: I7639631846a9145c3a18f2a704b71184ec781f45
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions