summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-23 10:32:40 +0000
committerDavid Baker <dave@matrix.org>2015-01-23 10:32:40 +0000
commitf87586e661101849a90f9d106b207a529e4cf689 (patch)
tree727220d45f43be7cfbcb14690602106385671d08 /synapse/api/errors.py
parentFix adding rules without before/after & add the rule that we couldn't find to... (diff)
downloadsynapse-f87586e661101849a90f9d106b207a529e4cf689.tar.xz
right super() param
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 01207282d6..4f59e1742c 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -100,7 +100,7 @@ class NotFoundError(SynapseError):
     def __init__(self, *args, **kwargs):
         if "errcode" not in kwargs:
             kwargs["errcode"] = Codes.NOT_FOUND
-        super(UnrecognizedRequestError, self).__init__(
+        super(NotFoundError, self).__init__(
             404,
             "Not found",
             **kwargs