[CalendarServer-changes] [3637] CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 4 13:40:49 PST 2009
Revision: 3637
http://trac.macosforge.org/projects/calendarserver/changeset/3637
Author: wsanchez at apple.com
Date: 2009-02-04 13:40:48 -0800 (Wed, 04 Feb 2009)
Log Message:
-----------
Ignore 'BYE LOGOUT' response.
Modified Paths:
--------------
CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
Modified: CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch 2009-02-04 19:08:39 UTC (rev 3636)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch 2009-02-04 21:40:48 UTC (rev 3637)
@@ -21,8 +21,12 @@
else:
unuse.append(L)
d, self.defer = self.defer, None
-@@ -2247,8 +2242,8 @@
+@@ -2245,10 +2240,12 @@
+ for f in fetched.get('FLAGS', []):
+ sum.append(f)
flags.setdefault(mId, []).extend(sum)
++ elif L.find('BYE LOGOUT') != -1:
++ pass
else:
log.msg('Unhandled unsolicited response: ' + repr(L))
- if flags:
@@ -32,7 +36,7 @@
if recent is not None or exists is not None:
self.newMessages(exists, recent)
-@@ -3336,6 +3331,8 @@
+@@ -3336,6 +3333,8 @@
if len(data) < 2:
raise IllegalServerResponse("Not enough arguments", data)
flags.setdefault(id, {})[data[0]] = data[1]
@@ -41,7 +45,7 @@
del data[:2]
else:
print '(2)Ignoring ', parts
-@@ -3431,7 +3428,16 @@
+@@ -3431,7 +3430,16 @@
except ValueError:
raise IllegalServerResponse, line
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090204/ca7a7372/attachment.html>
More information about the calendarserver-changes
mailing list