Code

Opened 6 years ago

Closed 6 years ago

#6299 closed (fixed)

Indentation error introduced to django.core.mail.forbid_multi_line_headers on changeset 6987

Reported by: jholloway7+django@… Owned by: nobody
Component: Core (Mail) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

Traceback (most recent call last):
  File "/home/joe/code/workspaces/clinicnotes/clinicnotes/src_django/django/core/servers/basehttp.py", line 277, in run
    self.result = application(self.environ, self.start_response)
  File "/home/joe/code/workspaces/clinicnotes/clinicnotes/src_django/django/core/servers/basehttp.py", line 631, in __call__
    return self.application(environ, start_response)
  File "/home/joe/code/workspaces/clinicnotes/clinicnotes/src_django/django/core/handlers/wsgi.py", line 205, in __call__
    response = self.get_response(request)
  File "/home/joe/code/workspaces/clinicnotes/clinicnotes/src_django/django/core/handlers/base.py", line 59, in get_response
    from django.core.mail import mail_admins
  File "/home/joe/code/workspaces/clinicnotes/clinicnotes/src_django/django/core/mail.py", line 86
     return (name, val)
                      
^
 IndentationError: unindent does not match any outer indentation level

Attachments (1)

patch_6299.txt (1.9 KB) - added by jholloway7+django@… 6 years ago.
patch for indentation error

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by jholloway7+django@…

patch for indentation error

comment:1 Changed 6 years ago by adrian

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

(In [6989]) Fixed #6299 -- Fixed an indentation error in django/core/mail.py introduced in [6987]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.