summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-28 14:10:46 +0000
committerDavid Baker <dave@matrix.org>2015-01-28 14:10:46 +0000
commit20c47383dca7d68608c903fe1f856756fd3da057 (patch)
tree6e907bdeab4fea96fe3251c8340b11516f9cccaf /synapse/rest/client
parentMore code style things (diff)
downloadsynapse-20c47383dca7d68608c903fe1f856756fd3da057.tar.xz
Oops, bad merge: needed to change the base class of the rest servlets too.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/push_rule.py4
-rw-r--r--synapse/rest/client/v1/pusher.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py
index 50bf5b9008..00fed42f44 100644
--- a/synapse/rest/client/v1/push_rule.py
+++ b/synapse/rest/client/v1/push_rule.py
@@ -17,13 +17,13 @@ from twisted.internet import defer
 
 from synapse.api.errors import SynapseError, Codes, UnrecognizedRequestError, NotFoundError, \
     StoreError
-from base import RestServlet, client_path_pattern
+from .base import ClientV1RestServlet, client_path_pattern
 from synapse.storage.push_rule import InconsistentRuleException, RuleNotFoundException
 
 import json
 
 
-class PushRuleRestServlet(RestServlet):
+class PushRuleRestServlet(ClientV1RestServlet):
     PATTERN = client_path_pattern("/pushrules/.*$")
     PRIORITY_CLASS_MAP = {
         'underride': 0,
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py
index 4659c9b1d9..80a11890a3 100644
--- a/synapse/rest/client/v1/pusher.py
+++ b/synapse/rest/client/v1/pusher.py
@@ -17,12 +17,12 @@ from twisted.internet import defer
 
 from synapse.api.errors import SynapseError, Codes
 from synapse.push import PusherConfigException
-from base import RestServlet, client_path_pattern
+from .base import ClientV1RestServlet, client_path_pattern
 
 import json
 
 
-class PusherRestServlet(RestServlet):
+class PusherRestServlet(ClientV1RestServlet):
     PATTERN = client_path_pattern("/pushers/set$")
 
     @defer.inlineCallbacks