summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-12-09 15:57:42 +0000
committerDavid Baker <dave@matrix.org>2015-12-09 15:57:42 +0000
commita24eedada77e0c3d82da85d8f40a33a9d2095a44 (patch)
treefcd7d110dc66d5e175f1030d10e0bbd5624bbf3c /synapse/push
parentSplit out the push rule evaluator into a separate file so it can be more read... (diff)
downloadsynapse-a24eedada77e0c3d82da85d8f40a33a9d2095a44.tar.xz
pep8
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 070ee6ae9a..e7c964bcd2 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -149,10 +149,10 @@ class Pusher(object):
 
         processed = False
 
-        rule_evaluator = yield push_rule_evaluator.\
-            evaluator_for_user_name_and_profile_tag(
-            self.user_name, self.profile_tag, single_event['room_id'], self.store
-        )
+        rule_evaluator = yield \
+            push_rule_evaluator.evaluator_for_user_name_and_profile_tag(
+                self.user_name, self.profile_tag, single_event['room_id'], self.store
+            )
 
         actions = yield rule_evaluator.actions_for_event(single_event)
         tweaks = rule_evaluator.tweaks_for_actions(actions)