Update requirements, Python 3.5 error with naked raise

This commit is contained in:
Adam Nelson 2016-10-20 16:19:38 -04:00
parent 1aa6dff0b5
commit 28b801bc1b
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# PEP8 code linting, which we run on all commits.
flake8==2.4.0
pep8==1.5.7
flake8==3.0.4
pep8==1.7.0
# Sort and lint imports
isort==4.2.5

View File

@ -2,10 +2,10 @@
wheel==0.29.0
# Twine for secured PyPI uploads.
twine==1.6.5
twine==1.8.1
# Transifex client for managing translation resources.
transifex-client==0.11
transifex-client==0.12.2
# Pandoc to have a nice pypi page
pypandoc

View File

@ -445,7 +445,7 @@ class APIView(View):
renderer_format = getattr(request.accepted_renderer, 'format')
use_plaintext_traceback = renderer_format not in ('html', 'api', 'admin')
request.force_plaintext_errors(use_plaintext_traceback)
raise
raise exc
# Note: Views are made CSRF exempt from within `as_view` as to prevent
# accidental removal of this exemption in cases where `dispatch` needs to