summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-24 09:27:42 +0100
committerDavid Baker <dave@matrix.org>2015-04-24 09:28:57 +0100
commit74270defdaf4070ba001713ae9f1f668790fc9a3 (patch)
tree550d97cd5ad32b4719f3f2eb7828e270be063b4a /synapse/api/errors.py
parentRemove users from the remote_offline_serials list (and clean up empty element... (diff)
downloadsynapse-74270defdaf4070ba001713ae9f1f668790fc9a3.tar.xz
No commas here, otherwise our error string constants become tuples.
Diffstat (limited to '')
-rw-r--r--synapse/api/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index eddd889778..72d2bd5b4c 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -35,8 +35,8 @@ class Codes(object):
     LIMIT_EXCEEDED = "M_LIMIT_EXCEEDED"
     CAPTCHA_NEEDED = "M_CAPTCHA_NEEDED"
     CAPTCHA_INVALID = "M_CAPTCHA_INVALID"
-    MISSING_PARAM = "M_MISSING_PARAM",
-    TOO_LARGE = "M_TOO_LARGE",
+    MISSING_PARAM = "M_MISSING_PARAM"
+    TOO_LARGE = "M_TOO_LARGE"
     EXCLUSIVE = "M_EXCLUSIVE"