/offlineimap/head: changeset 155
Handle \r\n line endings in Maildirs.
This commit is contained in:
parent
80e04a2874
commit
0361dd4783
@ -1,6 +1,8 @@
|
||||
offlineimap (3.0.4) unstable; urgency=low
|
||||
|
||||
* Placeholder
|
||||
* When uploading messages from a Maildir, now convert \r\n to \n in case
|
||||
the message is stored weirdly. That way, everything is uniform.
|
||||
Fixes [complete.org #11].
|
||||
|
||||
-- John Goerzen <jgoerzen@complete.org> Sun, 21 Jul 2002 16:09:42 -0500
|
||||
|
||||
|
@ -130,7 +130,7 @@ class MaildirFolder(BaseFolder):
|
||||
file = open(filename, 'rt')
|
||||
retval = file.read()
|
||||
file.close()
|
||||
return retval
|
||||
return retval.replace("\r\n", "\n")
|
||||
|
||||
def savemessage(self, uid, content, flags):
|
||||
if uid < 0:
|
||||
|
Loading…
Reference in New Issue
Block a user