diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-06 21:05:48 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-06 21:05:48 +0800 |
commit | 90f69f20da9ce91f6e1ff0a994b92be2d25606f1 (patch) | |
tree | d18b07b7d63aff0fd16218aeb3ec87bbaf1b97ac /fg21sim/webui/static/css/milligram.css | |
parent | b6efd51c4a7787b4878323b9e2b81e1d90b465c2 (diff) | |
download | fg21sim-90f69f20da9ce91f6e1ff0a994b92be2d25606f1.tar.bz2 |
configs/manager.py: Support flattening dumped configs (nested dict)
* Add helper function "_flatten_dict()" to flatten a nested dictionary
into an one-level dictionary, with the keys are concatenated with a
separator.
* Add a new parameter "flatten" to method "dump()" to allow the dumped
configurations been flattened.
Diffstat (limited to 'fg21sim/webui/static/css/milligram.css')
0 files changed, 0 insertions, 0 deletions