Comment 12 for bug 1171936

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/33671
Committed: http://github.com/openstack/nova/commit/43cf9864b9091319612926a01b07045806cfce49
Submitter: Jenkins
Branch: master

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

    fixes bug #1171936

    Change-Id: I7639631846a9145c3a18f2a704b71184ec781f45