[issue1645148] MIME renderer: wrong header line break with long subject?

2008-05-11 Thread Kayne Naughton

Kayne Naughton <[EMAIL PROTECTED]> added the comment:

Argg, yes, as Andi explained it's the tab (not sure how I missed that on
first reading).

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1645148>
_
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1645148] MIME renderer: wrong header line break with long subject?

2008-05-11 Thread Kayne Naughton

Kayne Naughton <[EMAIL PROTECTED]> added the comment:

Just struck this myself, found Andi's solution to work.

Constructing the header using email.header stops it from breaking the
line awkwardly (vs. just storing a string).

Suggest the documentation example page be updated to use header() in
place of straight strings.

(I can only guess as to they why of this, it seems not to hang the
indent more than a space when using header).

--
nosy: +kayne

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1645148>
_
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com