diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-19 14:24:59 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-19 14:24:59 +0000 |
commit | 9654ee084867256ab77062761bc4e2c63254e275 (patch) | |
tree | 3150373f97ac4fe24bed0b1300af23b0a1cb8500 /synapse/push | |
parent | Except truthy values (diff) | |
download | synapse-9654ee084867256ab77062761bc4e2c63254e275.tar.xz |
Return don't break
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py index c3a3b18733..efd686fa6e 100644 --- a/synapse/push/bulk_push_rule_evaluator.py +++ b/synapse/push/bulk_push_rule_evaluator.py @@ -123,7 +123,7 @@ def _condition_checker(evaluator, conditions, uid, display_name, cache): if _id: res = cache.get(_id, None) if res is False: - break + return False elif res is True: continue |