mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 10:05:55 +03:00
More sacrifices to the pep8 gods.
This commit is contained in:
parent
c92fdf88a3
commit
bbb010a30f
1 changed files with 8 additions and 2 deletions
|
@ -133,10 +133,16 @@ class Pusher(object):
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
if matches:
|
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)
|
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)
|
defer.returnValue(Pusher.DEFAULT_ACTIONS)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in a new issue