mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-04 02:44:11 -04:00
Fix relative imports so they work in both py3 and py27
This commit is contained in:
parent
ea72bd9600
commit
7076082ae6
17 changed files with 22 additions and 22 deletions
|
@ -21,7 +21,7 @@ from synapse.util.logcontext import LoggingContext
|
|||
from synapse.util.metrics import Measure
|
||||
|
||||
import synapse.util.async
|
||||
import push_rule_evaluator as push_rule_evaluator
|
||||
from .push_rule_evaluator import evaluator_for_user_id
|
||||
|
||||
import logging
|
||||
import random
|
||||
|
@ -185,7 +185,7 @@ class Pusher(object):
|
|||
processed = False
|
||||
|
||||
rule_evaluator = yield \
|
||||
push_rule_evaluator.evaluator_for_user_id(
|
||||
evaluator_for_user_id(
|
||||
self.user_id, single_event['room_id'], self.store
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue