[CalendarServer-changes] [6277] CalendarServer/trunk/txdav/caldav
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 10 15:48:38 PDT 2010
Revision: 6277
http://trac.macosforge.org/projects/calendarserver/changeset/6277
Author: glyph at apple.com
Date: 2010-09-10 15:48:37 -0700 (Fri, 10 Sep 2010)
Log Message:
-----------
doc fixes: correct @param type for contentType
Modified Paths:
--------------
CalendarServer/trunk/txdav/caldav/datastore/file.py
CalendarServer/trunk/txdav/caldav/icalendarstore.py
Modified: CalendarServer/trunk/txdav/caldav/datastore/file.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/file.py 2010-09-10 22:47:58 UTC (rev 6276)
+++ CalendarServer/trunk/txdav/caldav/datastore/file.py 2010-09-10 22:48:37 UTC (rev 6277)
@@ -409,9 +409,11 @@
def __init__(self, attachment, contentType):
"""
-
- @param attachment:
- @type attachment:
+ Initialize this L{AttachmentStorageTransport} and open its file for
+ writing.
+
+ @param attachment: The attachment whose data is being filled out.
+ @type attachment: L{Attachment}
"""
self._attachment = attachment
self._contentType = contentType
Modified: CalendarServer/trunk/txdav/caldav/icalendarstore.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/icalendarstore.py 2010-09-10 22:47:58 UTC (rev 6276)
+++ CalendarServer/trunk/txdav/caldav/icalendarstore.py 2010-09-10 22:48:37 UTC (rev 6277)
@@ -360,9 +360,9 @@
@type name: C{str}
- @param contentType: a slash-separated content type.
+ @param contentType: The content-type of the data to store.
- @type contentType: C{str}
+ @type contentType: L{twext.web2.http_headers.MimeType}
@return: the same type as L{IAttachment.store} returns.
"""
@@ -415,7 +415,7 @@
def store(contentType):
"""
@param contentType: The content type of the data which will be stored.
- @type contentType: C{str}
+ @type contentType: L{twext.web2.http_headers.MimeType}
@return: An L{ITransport}/L{IConsumer} provider that will store the
bytes passed to its 'write' method.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100910/c915adbc/attachment.html>
More information about the calendarserver-changes
mailing list