[CalendarServer-changes] [10732] CalendarServer/trunk/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 14 13:33:29 PST 2013


Revision: 10732
          http://trac.calendarserver.org//changeset/10732
Author:   cdaboo at apple.com
Date:     2013-02-14 13:33:29 -0800 (Thu, 14 Feb 2013)
Log Message:
-----------
Make sure method call is valid but raises an exception.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/resource.py

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2013-02-14 19:03:54 UTC (rev 10731)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2013-02-14 21:33:29 UTC (rev 10732)
@@ -1545,11 +1545,13 @@
         return fail(NotImplementedError())
 
 
-    def iCalendarRolledup(self):
+    def iCalendarRolledup(self, request):
         """
         Only implemented by calendar collections; see storebridge.
         """
+        raise HTTPError(responsecode.NOT_ALLOWED)
 
+
     @inlineCallbacks
     def iCalendarFiltered(self, isowner, accessUID=None):
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130214/179d8892/attachment.html>


More information about the calendarserver-changes mailing list