aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-06 21:05:48 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-06 21:05:48 +0800
commit90f69f20da9ce91f6e1ff0a994b92be2d25606f1 (patch)
treed18b07b7d63aff0fd16218aeb3ec87bbaf1b97ac /fg21sim/webui/static
parentb6efd51c4a7787b4878323b9e2b81e1d90b465c2 (diff)
downloadfg21sim-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')
0 files changed, 0 insertions, 0 deletions