Skip to content

Commit 8fa8ee1

Browse files
committed
registry: Directly set the value instead of calling Value._setValue
1 parent 94310d5 commit 8fa8ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def close(registry, filename, private=True):
153153
# Value.setValue to set some global state (#1349)
154154
x = value.__class__(value._default, value._help,
155155
setDefault=False)
156-
x._setValue(value._default, inherited=False)
156+
x.value = value._default
157157
except Exception as e:
158158
exception('Exception instantiating default for %s:' %
159159
value._name)

0 commit comments

Comments
 (0)