Merge pull request #1526 from guerler/fix_unvalidated_001

[16.01] Handle unvalidated values in depth
This commit is contained in:
John Chilton
2016-01-15 20:35:00 -05:00
+3
View File
@@ -2154,6 +2154,9 @@ class Tool( object, Dictifiable ):
def jsonify(v):
if isinstance(v, UnvalidatedValue):
v = v.value
while isinstance( v, UnvalidatedValue ):
v = v.value
return v
# check if value is numeric
isnumber = False