diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-03 21:27:17 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-03 21:27:17 +0800 |
commit | abc4bdfd439674ee99eb203ad2d7424705a33f98 (patch) | |
tree | 5dc21ee1d364ed87e30db41108cd167014803c6c /fg21sim/configs/validate.py | |
parent | ba8c9b10a45528405c8d96faea2208f1d21fa267 (diff) | |
download | fg21sim-abc4bdfd439674ee99eb203ad2d7424705a33f98.tar.bz2 |
configs/manager.py: getn(): remove par. "sep"; handle exception
* Remove the optional parameter "sep", therefore the key must be
"/"-separated or a list of keys.
* Add exception handling and raise "KeyError" if the input key is
invalid (i.e., specifies a non-exist option).
* Update comments and docstring.
Diffstat (limited to 'fg21sim/configs/validate.py')
0 files changed, 0 insertions, 0 deletions