Permalink
Browse files

Revert CompoundValidation tweak. Works with tw2.sqla now. Fixes #9.

  • Loading branch information...
ralphbean committed Mar 28, 2012
1 parent f6089fd commit 0329947311d9538ac0f299fcfbe87cb1f20dc477
Showing with 1 addition and 1 deletion.
  1. +1 −1 tw2/core/widgets.py
@@ -618,7 +618,7 @@ def _validate(self, value, state=None):
#Validate non compound children
for c in (child for child in self.children if not child._sub_compound):
d = value.get(c.key, None)
d = value.get(c.key, '')
try:
val = c._validate(d, data)
if val is not vd.EmptyField:

0 comments on commit 0329947

Please sign in to comment.