has_callback options cannot be overrided
This commit is contained in:
parent
c70fc04f3a
commit
99dc71a752
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ class Config(object):
|
|||
else:
|
||||
newowner = who
|
||||
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 "
|
||||
"wich has a callback: {0}".format(name))
|
||||
# if oldowner == who:
|
||||
|
|
Loading…
Reference in a new issue