diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-31 14:07:55 -0500 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2012-01-31 14:07:55 -0500 |
commit | d48cba10976ff7665fb39768ca251c8f08e1bbe8 (patch) | |
tree | 3df39f0788bcb94ea6f1db30558749ed4695a35f /tools/shared.py | |
parent | f10e3e811dee7522e737a93a3db53a5db1cf0b32 (diff) |
Prevent the Settings object from pointing to two separate things
We need to do this dance because shared.py reassigns the global Settings
object to point to a new class, but because Python is lexically scoped,
the Settings global name in tests/runner.py would not get updated to
point to the new name, which would cause changes to Settings.FOO_BAR in
runner.py not be reflected in Settings.serialize() and therefore not
being passed down to emcc.
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions