[CalendarServer-changes] [6808] CalendarServer/trunk/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jan 26 09:12:52 PST 2011
Revision: 6808
http://trac.macosforge.org/projects/calendarserver/changeset/6808
Author: cdaboo at apple.com
Date: 2011-01-26 09:12:52 -0800 (Wed, 26 Jan 2011)
Log Message:
-----------
Fix bug with use of element in ErrorResponse.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/method/put_addressbook_common.py
CalendarServer/trunk/twistedcaldav/method/put_common.py
CalendarServer/trunk/twistedcaldav/resource.py
Modified: CalendarServer/trunk/twistedcaldav/method/put_addressbook_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/put_addressbook_common.py 2011-01-26 16:59:52 UTC (rev 6807)
+++ CalendarServer/trunk/twistedcaldav/method/put_addressbook_common.py 2011-01-26 17:12:52 UTC (rev 6808)
@@ -168,7 +168,7 @@
log.err(message)
raise HTTPError(ErrorResponse(
responsecode.FORBIDDEN,
- customxml.MaxResources
+ customxml.MaxResources()
))
if not self.sourceadbk:
Modified: CalendarServer/trunk/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/put_common.py 2011-01-26 16:59:52 UTC (rev 6807)
+++ CalendarServer/trunk/twistedcaldav/method/put_common.py 2011-01-26 17:12:52 UTC (rev 6808)
@@ -214,7 +214,7 @@
log.err(message)
raise HTTPError(ErrorResponse(
responsecode.FORBIDDEN,
- customxml.MaxResources
+ customxml.MaxResources()
))
# Valid data sizes - do before parsing the data
Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py 2011-01-26 16:59:52 UTC (rev 6807)
+++ CalendarServer/trunk/twistedcaldav/resource.py 2011-01-26 17:12:52 UTC (rev 6808)
@@ -1465,7 +1465,7 @@
self.log_error("Cannot create a calendar collection because there are too many already present in %s" % (parent,))
raise HTTPError(ErrorResponse(
responsecode.FORBIDDEN,
- customxml.MaxCollections
+ customxml.MaxCollections()
))
returnValue((yield self.createCalendarCollection()))
@@ -1558,7 +1558,7 @@
self.log_error("Cannot create a calendar collection because there are too many already present in %s" % (parent,))
raise HTTPError(ErrorResponse(
responsecode.FORBIDDEN,
- customxml.MaxCollections
+ customxml.MaxCollections()
))
returnValue((yield self.createAddressBookCollection()))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110126/e9feba9a/attachment.html>
More information about the calendarserver-changes
mailing list