has_callback options cannot be overrided
This commit is contained in:
parent
c70fc04f3a
commit
99dc71a752
|
@ -337,7 +337,7 @@ class Config(object):
|
||||||
else:
|
else:
|
||||||
newowner = who
|
newowner = who
|
||||||
if type(child) != SymLinkOption:
|
if type(child) != SymLinkOption:
|
||||||
if child.has_callback():
|
if child.has_callback() and who=='default':
|
||||||
raise TypeError("trying to set a value to an option "
|
raise TypeError("trying to set a value to an option "
|
||||||
"wich has a callback: {0}".format(name))
|
"wich has a callback: {0}".format(name))
|
||||||
# if oldowner == who:
|
# if oldowner == who:
|
||||||
|
|
Loading…
Reference in New Issue