summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-12 16:53:12 +0000
committerDavid Baker <dave@matrix.org>2015-03-12 16:53:12 +0000
commitbbb010a30fe4beb6104e7d185e722a76c88825ff (patch)
tree25133c53ebc367b8ccbdccaa2f2428ca01b7eeb1
parentLog the matching push rule. (diff)
downloadsynapse-bbb010a30fe4beb6104e7d185e722a76c88825ff.tar.xz
More sacrifices to the pep8 gods.
-rw-r--r--synapse/push/__init__.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 5056374eb9..0727f772a5 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -133,10 +133,16 @@ class Pusher(object):
                 )
                 continue
             if matches:
-                logger.info("%s matches for user %s, event %s", r['rule_id'], self.user_name, ev['event_id'])
+                logger.info(
+                    "%s matches for user %s, event %s",
+                    r['rule_id'], self.user_name, ev['event_id']
+                )
                 defer.returnValue(actions)
 
-        logger.info("No rules match for user %s, event %s", self.user_name, ev['event_id'])
+        logger.info(
+            "No rules match for user %s, event %s",
+            self.user_name, ev['event_id']
+        )
         defer.returnValue(Pusher.DEFAULT_ACTIONS)
 
     @staticmethod