[CalendarServer-changes] [7634] CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/sql .py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 20 12:38:50 PDT 2011
Revision: 7634
http://trac.macosforge.org/projects/calendarserver/changeset/7634
Author: glyph at apple.com
Date: 2011-06-20 12:38:50 -0700 (Mon, 20 Jun 2011)
Log Message:
-----------
Streams are weird.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/sql.py
Modified: CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/sql.py 2011-06-20 19:38:39 UTC (rev 7633)
+++ CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/sql.py 2011-06-20 19:38:50 UTC (rev 7634)
@@ -758,6 +758,8 @@
def write(self, data):
+ if isinstance(data, buffer):
+ data = str(data)
self._buf += data
self._hash.update(data)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110620/866a4a9d/attachment-0001.html>
More information about the calendarserver-changes
mailing list