Mercurial > p > roundup > code
diff roundup/mailer.py @ 4341:7f67092fe03d
fix comment
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 01 Feb 2010 05:59:10 +0000 |
| parents | ac3f80e39d7a |
| children | f2e6b303aa8a |
line wrap: on
line diff
--- a/roundup/mailer.py Mon Feb 01 05:46:59 2010 +0000 +++ b/roundup/mailer.py Mon Feb 01 05:59:10 2010 +0000 @@ -40,7 +40,8 @@ if specialsre.search(encname): encname = '"%s"'%escapesre.sub(r'\\\g<0>', encname) - # now use Header again to wrap the line if necessary + # now format the header as a string - don't return a Header as anonymous + # headers play poorly with Messages (eg. won't get wrapped properly) return '%s <%s>'%(encname, address) class Mailer:
