diff options
author | David Baker <dave@matrix.org> | 2015-03-12 16:53:12 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-03-12 16:53:12 +0000 |
commit | bbb010a30fe4beb6104e7d185e722a76c88825ff (patch) | |
tree | 25133c53ebc367b8ccbdccaa2f2428ca01b7eeb1 /synapse/push | |
parent | Log the matching push rule. (diff) | |
download | synapse-bbb010a30fe4beb6104e7d185e722a76c88825ff.tar.xz |
More sacrifices to the pep8 gods.
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/__init__.py | 10 |
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 |