summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorAdrian Tschira <nota@notafile.com>2018-04-28 12:17:56 +0200
committerAdrian Tschira <nota@notafile.com>2018-04-28 13:41:41 +0200
commit57b58e2174f120fb13fbe2f6d57e8647b69921ec (patch)
treebd1f59843692196bcebc6756b710d939f49628bf /synapse/push
parentMerge pull request #3127 from matrix-org/rav/deferred_timeout (diff)
downloadsynapse-57b58e2174f120fb13fbe2f6d57e8647b69921ec.tar.xz
make imports local
Signed-off-by: Adrian Tschira <nota@notafile.com>
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/httppusher.py4
-rw-r--r--synapse/push/pusher.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index 1420d378ef..b077e1a446 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -18,8 +18,8 @@ import logging
 from twisted.internet import defer, reactor
 from twisted.internet.error import AlreadyCalled, AlreadyCancelled
 
-import push_rule_evaluator
-import push_tools
+from . import push_rule_evaluator
+from . import push_tools
 import synapse
 from synapse.push import PusherConfigException
 from synapse.util.logcontext import LoggingContext
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py
index 71576330a9..5aa6667e91 100644
--- a/synapse/push/pusher.py
+++ b/synapse/push/pusher.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from httppusher import HttpPusher
+from .httppusher import HttpPusher
 
 import logging
 logger = logging.getLogger(__name__)