diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 20:16:09 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 20:16:09 +0800 |
commit | c23498126941c94fd1bbf521995684b7e02bf1d5 (patch) | |
tree | a187d3ef86d8152ffebe7251025434a66814c41d /requirements.txt | |
parent | 57aaa4cbb05cacb897f274a13723cea018a90461 (diff) | |
download | fg21sim-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 'requirements.txt')
0 files changed, 0 insertions, 0 deletions