has_callback options cannot be overrided

This commit is contained in:
gwen 2012-09-18 15:31:32 +02:00
parent c70fc04f3a
commit 99dc71a752

View file

@ -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: