[CalendarServer-changes] [4980] CalendarServer/trunk/lib-patches/Twisted
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jan 29 09:37:15 PST 2010
Revision: 4980
http://trac.macosforge.org/projects/calendarserver/changeset/4980
Author: cdaboo at apple.com
Date: 2010-01-29 09:37:14 -0800 (Fri, 29 Jan 2010)
Log Message:
-----------
Fix tests.
Added Paths:
-----------
CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
CalendarServer/trunk/lib-patches/Twisted/twisted.test.test_paths.patch
Added: CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.mail.imap4.patch 2010-01-29 17:37:14 UTC (rev 4980)
@@ -0,0 +1,18 @@
+Index: twisted/mail/imap4.py
+===================================================================
+--- twisted/mail/imap4.py (revision 27622)
++++ twisted/mail/imap4.py (working copy)
+@@ -391,10 +391,10 @@
+ return ''
+
+ def setResponse(self, response):
+- parts = response[:-1].split('\0', 1)
+- if len(parts) != 2:
++ parts = response.split('\0', 2)
++ if len(parts) != 3:
+ raise IllegalClientResponse("Malformed Response - wrong number of parts")
+- self.username, self.password = parts
++ _ignore, self.username, self.password = parts
+
+ def moreChallenges(self):
+ return False
Added: CalendarServer/trunk/lib-patches/Twisted/twisted.test.test_paths.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.test.test_paths.patch (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.test.test_paths.patch 2010-01-29 17:37:14 UTC (rev 4980)
@@ -0,0 +1,12 @@
+Index: twisted/test/test_paths.py
+===================================================================
+--- twisted/test/test_paths.py (revision 27622)
++++ twisted/test/test_paths.py (working copy)
+@@ -793,6 +793,7 @@
+ self.assertEquals(fp.exists(), False)
+
+ fp.makedirs()
++ fp.changed()
+ self.assertEquals(fp.exists(), True)
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100129/2b87d62c/attachment.html>
More information about the calendarserver-changes
mailing list