3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

control: don't duplicate config validation

This commit is contained in:
James Lu 2017-06-02 08:34:59 -07:00
parent 9ea9f66dd7
commit 6e8f618f80

View File

@ -87,7 +87,6 @@ def _rehash():
old_conf = conf.conf.copy()
fname = conf.fname
new_conf = conf.loadConf(fname, errors_fatal=False, logger=log)
new_conf = conf.validateConf(new_conf)
conf.conf = new_conf
# Reset any file logger options.