From 99dc71a752194d255a2fc3fa402aa8e35e5bb1a7 Mon Sep 17 00:00:00 2001 From: gwen Date: Tue, 18 Sep 2012 15:31:32 +0200 Subject: [PATCH] has_callback options cannot be overrided --- tiramisu/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiramisu/config.py b/tiramisu/config.py index 799954c..1a749e9 100644 --- a/tiramisu/config.py +++ b/tiramisu/config.py @@ -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: