Return don't break

pull/4/merge
Erik Johnston 9 years ago
parent 7ecd211163
commit 9654ee0848
  1. 2
      synapse/push/bulk_push_rule_evaluator.py

@ -123,7 +123,7 @@ def _condition_checker(evaluator, conditions, uid, display_name, cache):
if _id: if _id:
res = cache.get(_id, None) res = cache.get(_id, None)
if res is False: if res is False:
break return False
elif res is True: elif res is True:
continue continue

Loading…
Cancel
Save