Commit 5fadc862 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Fixed #14851 -- Swapped an argument order to fix compatibility with...

Fixed #14851 -- Swapped an argument order to fix compatibility with Python<2.6. Thanks for report and patch, mk.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 29c4a578
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class AdminEmailHandler(logging.Handler):
            stack_trace = 'No stack trace available'

        message = "%s\n\n%s" % (stack_trace, request_repr)
        reporter = ExceptionReporter(request, *exc_info, is_email=True)
        reporter = ExceptionReporter(request, is_email=True, *exc_info)
        html_message = reporter.get_traceback_html()
        mail.mail_admins(subject, message, fail_silently=True,
                         html_message=html_message)