diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 09:43:21 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 09:43:21 +0800 |
commit | b7d12ee08b4bc6362cb2682475b28c8ffc04ce5c (patch) | |
tree | 956a015c9660cae707dc96231a56edf2a1623f1a /fg21sim/configs/validate.py | |
parent | abc4bdfd439674ee99eb203ad2d7424705a33f98 (diff) | |
download | fg21sim-b7d12ee08b4bc6362cb2682475b28c8ffc04ce5c.tar.bz2 |
configs/manager.py: Implement "setn()" to set an option value
The "setn()" method is a corresponding operation with the "getn()",
which set the value of a config option to the given value.
This function will be used in the Web UI to interact with the WebSocket
communications.
Also add the "merge()" method which simply merge the input
configurations without any validation.
Diffstat (limited to 'fg21sim/configs/validate.py')
0 files changed, 0 insertions, 0 deletions