Manage None as value of PYSON In

issue11280
review393771002
This commit is contained in:
Cédric Krier
2022-03-06 18:01:59 +01:00
parent a57b45f25c
commit 1bbd55d543
+4 -1
View File
@@ -525,7 +525,10 @@ class In(PYSON):
@staticmethod
def eval(dct, context):
return dct['k'] in dct['v']
if dct['v']:
return dct['k'] in dct['v']
else:
return False
class Date(PYSON):