tiramisu/values: _empty should not validate with defaultvalue, defaultvalue is alread...
authorEmmanuel Garette <egarette@cadoles.com>
Tue, 23 Apr 2013 08:41:47 +0000 (10:41 +0200)
committerEmmanuel Garette <egarette@cadoles.com>
Tue, 23 Apr 2013 08:41:47 +0000 (10:41 +0200)
tiramisu/value.py

index 1e338b4..ece79bd 100644 (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):