has_callback options cannot be overrided

This commit is contained in:
gwen 2012-09-18 15:31:32 +02:00
parent c70fc04f3a
commit 99dc71a752
1 changed files with 1 additions and 1 deletions

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: