Author taleinat
Recipients kbk, taleinat
Date 2007-10-10.00:17:22
SpamBayes Score 0.163702
Marked as misclassified No
Message-id <1191975442.49.0.548958443636.issue1130@psf.upfronthosting.co.za>
In-reply-to
Content
Your solution is better than my suggestion, but has two minor bugs:

1) eol_convention must be initialized somewhere. For instance, opening a
new editor window (Ctrl+N) and saving it fails because
self.eol_convention is not defined. I agree that is shouldn't be a class
attribute, but it must be intialized in __init__.

2) You meant chars = self.encode(text), right? (otherwise the eol change
is discraded...)
History
Date User Action Args
2007-10-10 00:17:22taleinatsetspambayes_score: 0.163702 -> 0.163702
recipients: + taleinat, kbk
2007-10-10 00:17:22taleinatsetspambayes_score: 0.163702 -> 0.163702
messageid: <1191975442.49.0.548958443636.issue1130@psf.upfronthosting.co.za>
2007-10-10 00:17:22taleinatlinkissue1130 messages
2007-10-10 00:17:22taleinatcreate