Merge pull request #2422 from kiyonori-matsumoto/dynamodb-and-order

fix: raises ValueError on conditional and operator
This commit is contained in:
Steve Pulec 2019-09-23 21:35:08 -05:00 committed by GitHub
commit cbe1ff1974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 2 deletions

View file

@ -941,8 +941,7 @@ class OpAnd(Op):
def expr(self, item):
lhs = self.lhs.expr(item)
rhs = self.rhs.expr(item)
return lhs and rhs
return lhs and self.rhs.expr(item)
class OpLessThan(Op):