aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/response.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-06-25 13:37:21 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-06-25 13:37:21 -0700
commitaf4414a85f3354a432e29ecf8cf39ffd926371e3 (patch)
tree34da18957bceb784aff8cd5c413fa8e8273068e9 /mediagoblin/tools/response.py
parent5a1be074c0522c2151ab735eeb30a60c07ff7f7c (diff)
parent7fa4e19fc4e7d04175549ea2f21f8b741fbe69f2 (diff)
downloadmediagoblin-af4414a85f3354a432e29ecf8cf39ffd926371e3.tar.lz
mediagoblin-af4414a85f3354a432e29ecf8cf39ffd926371e3.tar.xz
mediagoblin-af4414a85f3354a432e29ecf8cf39ffd926371e3.zip
Merge remote-tracking branch 'upstream/master' into auth
Conflicts: mediagoblin/app.py mediagoblin/auth/forms.py mediagoblin/auth/tools.py mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/edit/views.py mediagoblin/plugins/basic_auth/tools.py mediagoblin/tests/test_edit.py
Diffstat (limited to 'mediagoblin/tools/response.py')
-rw-r--r--mediagoblin/tools/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tools/response.py b/mediagoblin/tools/response.py
index aaf31d0b..0be1f835 100644
--- a/mediagoblin/tools/response.py
+++ b/mediagoblin/tools/response.py
@@ -77,7 +77,7 @@ def render_http_exception(request, exc, description):
elif stock_desc and exc.code == 404:
return render_404(request)
- return render_error(request, title=exc.args[0],
+ return render_error(request, title='{0} {1}'.format(exc.code, exc.name),
err_msg=description,
status=exc.code)