mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
|
@ -113,12 +113,10 @@ def send_log(request, exc_info):
|
|||
orig_filters = admin_email_handler.filters
|
||||
admin_email_handler.filters = []
|
||||
admin_email_handler.include_html = True
|
||||
logger.error('Internal Server Error: %s', request.path,
|
||||
logger.error(
|
||||
'Internal Server Error: %s', request.path,
|
||||
exc_info=exc_info,
|
||||
extra={
|
||||
'status_code': 500,
|
||||
'request': request
|
||||
}
|
||||
extra={'status_code': 500, 'request': request},
|
||||
)
|
||||
admin_email_handler.filters = orig_filters
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue