Package: archivemail
Version: 0.6.2-2
Severity: normal
Tags: patch
The CRLF conversion for IMAP messages is done, but then discarded.
This is a regression introduced with the update to version 0.6.2.
Note that archiving IMAP folders is *completely* broken in 0.6.2. I'm
filing this relatively minor bug first because it's easy to fix. I'm working
on the other issues, bug reports are pending.
Nikolaus
--- archivemail.py.orig 2006-09-10 18:56:10.000000000 +0200
+++ archivemail.py 2006-09-10 18:56:43.000000000 +0200
@@ -1279,7 +1279,6 @@
msg_str = response[0][1]
else:
msg_str = response[0][1].replace("\r\n", os.linesep)
- msg_str = response[0][1]
msg_flags = imaplib.ParseFlags(response[1])
msg = rfc822.Message(cStringIO.StringIO(msg_str))
add_status_headers_imap(msg, msg_flags)