Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…ython<2.6. Thanks for report and patch, mk.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5fadc862007a967dcb66774a78fee7c4808c6a69 1 parent 29c4a57
Jannis Leidel authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/log.py
2  django/utils/log.py
@@ -87,7 +87,7 @@ def emit(self, record):
87 87
             stack_trace = 'No stack trace available'
88 88
 
89 89
         message = "%s\n\n%s" % (stack_trace, request_repr)
90  
-        reporter = ExceptionReporter(request, *exc_info, is_email=True)
  90
+        reporter = ExceptionReporter(request, is_email=True, *exc_info)
91 91
         html_message = reporter.get_traceback_html()
92 92
         mail.mail_admins(subject, message, fail_silently=True,
93 93
                          html_message=html_message)

0 notes on commit 5fadc86

Please sign in to comment.
Something went wrong with that request. Please try again.