aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-31 14:07:55 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-31 14:07:55 -0500
commitd48cba10976ff7665fb39768ca251c8f08e1bbe8 (patch)
tree3df39f0788bcb94ea6f1db30558749ed4695a35f /tools/shared.py
parentf10e3e811dee7522e737a93a3db53a5db1cf0b32 (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