Opened 5 years ago

Closed 5 years ago

#14851 closed (fixed)

rev14844 breaks Django completely

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


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 5 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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