From e0bf9faf5c8a0fa3b5e27590d8066bf998a7d97c Mon Sep 17 00:00:00 2001 From: gwen Date: Thu, 15 Nov 2012 14:59:36 +0100 Subject: [PATCH] default_multi method --- tiramisu/option.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tiramisu/option.py b/tiramisu/option.py index fe0a619..d692aaf 100644 --- a/tiramisu/option.py +++ b/tiramisu/option.py @@ -154,6 +154,10 @@ class Option(HiddenBaseType, DisabledBaseType): "accessing the default value" return self.default + def getdefault_multi(self): + "accessing the default value for a multi" + return self.default_multi + def is_empty_by_default(self): "no default value has been set yet" if ((not self.is_multi() and self.default == None) or