Permalink
Browse files

Fix boolean test

  • Loading branch information...
1 parent 0822f1d commit 50dd3ae5f45fd422e457ba1757b56601d760e683 @pracz pracz committed Aug 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cubes/backends/sql/star.py
@@ -732,7 +732,7 @@ def boundary_condition(self, dim, hierarchy, path, bound, first=None):
condition = sql.expression.and_(*conditions)
attributes |= last.attributes
- if last.condition:
+ if last.condition is not None:
condition = sql.expression.or_(condition, last.condition)
return Condition(attributes, condition)

0 comments on commit 50dd3ae

Please sign in to comment.