Opened 8 years ago

Closed 8 years ago

#14851 closed (fixed)

rev14844 breaks Django completely

Reported by: Matthias Kestenholz Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


After applying this patch it works again (Python 2.5).

diff --git a/django/utils/ b/django/utils/
index d3c8e67..75422c7 100644
--- a/django/utils/
+++ b/django/utils/
@@ -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,

Change History (1)

comment:1 Changed 8 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

(In [14845]) Fixed #14851 -- Swapped an argument order to fix compatibility with Python<2.6. Thanks for report and patch, mk.

Note: See TracTickets for help on using tickets.
Back to Top