diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-10 16:09:14 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-10 16:09:14 +0200 |
commit | a606df8ce0b780a22cc2f1657d782557122fc0ba (patch) | |
tree | c54eeb10e73c7252d08addd7997cebe23fcae83d /app/handlers/base.py | |
parent | 0e450a3bf048a9fb52185c9e1beeaf2fa87dff5e (diff) |
Use write_error instead of send_error.
Diffstat (limited to 'app/handlers/base.py')
-rw-r--r-- | app/handlers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/handlers/base.py b/app/handlers/base.py index 01af6ea..93173d6 100644 --- a/app/handlers/base.py +++ b/app/handlers/base.py @@ -251,7 +251,7 @@ class BaseHandler(RequestHandler): :param doc_id: The ID of the documento to delete. """ - self.send_error(status_code=501) + self.write_error(status_code=501) @asynchronous def get(self, *args, **kwargs): |