default_multi method

This commit is contained in:
gwen 2012-11-15 14:59:36 +01:00
parent eb7e393864
commit e0bf9faf5c

View File

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