Opened 17 years ago
Closed 17 years ago
#5887 closed (fixed)
consolidate common code in SafeMIMEText and SafeMIMEMultipart
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Core (Mail) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Browsing the source, noticed the same code in 2 places. moved it into def forbid_multi_line_headers(name, val):
Did not include setitem call - would have been messy, and removed any chance of that function being useful for anything else.
Attachments (1)
Change History (3)
by , 17 years ago
comment:1 by , 17 years ago
Summary: | cosolidate common code in SafeMIMEText and SafeMIMEMultipart → consolidate common code in SafeMIMEText and SafeMIMEMultipart |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
svn diff django/core/mail.py