File: technical_response.py

package info (click to toggle)
python-django-extensions 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,016 kB
  • ctags: 1,342
  • sloc: python: 8,873; makefile: 117
file content (6 lines) | stat: -rw-r--r-- 162 bytes parent folder | download
1
2
3
4
5
6
# -*- coding: utf-8 -*-
import six


def null_technical_500_response(request, exc_type, exc_value, tb, status_code=500):
    six.reraise(exc_type, exc_value, tb)