mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 04:51:06 -05:00
registry: Directly set the value instead of calling Value._setValue
This commit is contained in:
parent
94310d5c3d
commit
8fa8ee117f
@ -153,7 +153,7 @@ def close(registry, filename, private=True):
|
||||
# Value.setValue to set some global state (#1349)
|
||||
x = value.__class__(value._default, value._help,
|
||||
setDefault=False)
|
||||
x._setValue(value._default, inherited=False)
|
||||
x.value = value._default
|
||||
except Exception as e:
|
||||
exception('Exception instantiating default for %s:' %
|
||||
value._name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user