[CalendarServer-changes] [2051]
CalendarServer/trunk/twistedcaldav/method/put_common.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 6 17:13:42 PST 2007
Revision: 2051
http://trac.macosforge.org/projects/calendarserver/changeset/2051
Author: wsanchez at apple.com
Date: 2007-12-06 17:13:40 -0800 (Thu, 06 Dec 2007)
Log Message:
-----------
Don't raise CONFLICT if destination_uri isn't set
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/method/put_common.py
Modified: CalendarServer/trunk/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/put_common.py 2007-12-07 01:12:14 UTC (rev 2050)
+++ CalendarServer/trunk/twistedcaldav/method/put_common.py 2007-12-07 01:13:40 UTC (rev 2051)
@@ -386,7 +386,7 @@
yield pause
pause.getResult()
- if not reserved:
+ if destination_uri and not reserved:
raise HTTPError(StatusResponse(responsecode.CONFLICT, "Resource: %s currently in use." % (destination_uri,)))
# uid conflict check - note we do this after reserving the UID to avoid a race condition where two requests
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20071206/33442f2e/attachment.html
More information about the calendarserver-changes
mailing list