[CalendarServer-changes] [250]
CalendarServer/trunk/twistedcaldav/method/put_common.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 21:32:29 PDT 2006
Revision: 250
http://trac.macosforge.org/projects/calendarserver/changeset/250
Author: wsanchez at apple.com
Date: 2006-10-04 21:32:28 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Remove param strings from functions without params
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/method/put_common.py
Modified: CalendarServer/trunk/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/put_common.py 2006-10-05 01:28:33 UTC (rev 249)
+++ CalendarServer/trunk/twistedcaldav/method/put_common.py 2006-10-05 04:32:28 UTC (rev 250)
@@ -177,8 +177,6 @@
"""
Make sure that the content-type of the source resource is text/calendar.
This test is only needed when the source is not in a calendar collection.
- @param request: the L{twisted.web2.server.Request} for the current HTTP request.
- @param source: the L{Component} for the calendar to test.
"""
result = True
message = ""
@@ -192,9 +190,6 @@
def validCalendarDataCheck():
"""
Check that the calendar data is valid iCalendar.
-
- @param request: the L{twisted.web2.server.Request} for the current HTTP request.
- @param calendar: the L{Component} for the calendar to test.
@return: tuple: (True/False if the calendra data is valid,
log message string).
"""
@@ -215,9 +210,6 @@
def validCalDAVDataCheck():
"""
Check that the calendar data is valid as a CalDAV calendar object resource.
-
- @param request: the L{twisted.web2.server.Request} for the current HTTP request.
- @param calendar: the L{Component} for the calendar to test.
@return: tuple: (True/False if the calendar data is valid,
log message string).
"""
@@ -238,8 +230,6 @@
"""
Make sure that the content-type of the source resource is text/calendar.
This test is only needed when the source is not in a calendar collection.
- @param request: the L{twisted.web2.server.Request} for the current HTTP request.
- @param source: the L{Component} for the calendar to test.
"""
result = True
message = ""
@@ -256,14 +246,9 @@
Check that the UID of the new calendar object conforms to the requirements of
CalDAV, i.e. it must be unique in the collection and we must not overwrite a
different UID.
-
- @param request: the L{twisted.web2.server.Request} for the current HTTP request.
- @param uid: the UID for the resource being stored.
- @param destination: the L{CalDAVFile} for the destination resource to copy into.
- @param destinationparent: the L{CalDAVFile} for the destination resource's parent collection.
- @return: tuple: (True/False if the uid is valid,
- log message string,
- name of conflicted resource).
+ @param uid: the UID for the resource being stored.
+ @return: tuple: (True/False if the uid is valid, log message string,
+ name of conflicted resource).
"""
result = True
@@ -303,7 +288,6 @@
"""
Handle validation operations here.
"""
-
reserved = False
if destinationcal:
if not sourcecal:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061004/edd81f00/attachment.html
More information about the calendarserver-changes
mailing list