tiramisu/values: _empty should not validate with defaultvalue, defaultvalue is already in value

This commit is contained in:
Emmanuel Garette 2013-04-23 10:41:47 +02:00
parent e5de0234c2
commit 20fe56e03d
1 changed files with 0 additions and 2 deletions

View File

@ -66,8 +66,6 @@ class Values(object):
(opt.optimpl_is_multi() and (value == [] or
None in value or empty in value)):
return True
if self.is_default_owner(opt) and opt.optimpl_is_empty_by_default():
return True
return False
def _getcallback_value(self, opt):