Manage None as value of PYSON In
issue11280 review393771002
This commit is contained in:
1 parent
77e3f50146
commit
837cefb659
1 file changed
+4
-1
+4
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user