Merge pull request #2295 from garrettheel/condition-expr-or-evaluation

dynamodb2: Defer evaluation of the OR RHS in condition expr
This commit is contained in:
Steve Pulec 2019-07-15 20:46:11 -05:00 committed by GitHub
commit 25ab3afc31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 2 deletions

View file

@ -1004,8 +1004,7 @@ class OpOr(Op):
def expr(self, item):
lhs = self.lhs.expr(item)
rhs = self.rhs.expr(item)
return lhs or rhs
return lhs or self.rhs.expr(item)
class Func(object):