aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/__init__.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-15 20:16:09 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-15 20:16:09 +0800
commitc23498126941c94fd1bbf521995684b7e02bf1d5 (patch)
treea187d3ef86d8152ffebe7251025434a66814c41d /fg21sim/__init__.py
parent57aaa4cbb05cacb897f274a13723cea018a90461 (diff)
downloadfg21sim-c23498126941c94fd1bbf521995684b7e02bf1d5.tar.bz2
configs/manager.py: Keep configuration file comments
* Enable the "copy" mode when validating, which also copies all the comments from the configspec to the validated configurations; * Use "copy.deepcopy()" to make a deep copy of the configurations, which also copies all the comments. Since the comments are preserved, therefore they are also written together to the saved/output configuration file.
Diffstat (limited to 'fg21sim/__init__.py')
0 files changed, 0 insertions, 0 deletions