summaryrefslogtreecommitdiff
path: root/talermerchantdemos/survey
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/survey')
-rw-r--r--talermerchantdemos/survey/survey.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/talermerchantdemos/survey/survey.py b/talermerchantdemos/survey/survey.py
index 38065f1..871b417 100644
--- a/talermerchantdemos/survey/survey.py
+++ b/talermerchantdemos/survey/survey.py
@@ -125,17 +125,6 @@ def favicon():
mimetype="image/vnd.microsoft.ico"
)
-##
-# Return a error response to the client.
-#
-# @param abort_status_code status code to return along the response.
-# @param params _kw_ arguments to passed verbatim to the templating engine.
-def err_abort(abort_status_code, **params):
- t = flask.render_template(
- "templates/error.html.j2",
- lang=get_locale(),
- **params)
- flask.abort(flask.make_response(t, abort_status_code))
##
# Tell the backend to 'authorize' a tip; this means that