[CalendarServer-changes] [7165] CalendarServer/branches/users/cdaboo/pycalendar/twistedcaldav/ical. py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 9 12:41:53 PST 2011


Revision: 7165
          http://trac.macosforge.org/projects/calendarserver/changeset/7165
Author:   cdaboo at apple.com
Date:     2011-03-09 12:41:53 -0800 (Wed, 09 Mar 2011)
Log Message:
-----------
Api changed.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/pycalendar/twistedcaldav/ical.py

Modified: CalendarServer/branches/users/cdaboo/pycalendar/twistedcaldav/ical.py
===================================================================
--- CalendarServer/branches/users/cdaboo/pycalendar/twistedcaldav/ical.py	2011-03-09 20:40:59 UTC (rev 7164)
+++ CalendarServer/branches/users/cdaboo/pycalendar/twistedcaldav/ical.py	2011-03-09 20:41:53 UTC (rev 7165)
@@ -382,7 +382,7 @@
                 self._parent = None
         else:
             # FIXME: figure out creating an arbitrary component
-            self._pycalendar = PyCalendar(False) if name == "VCALENDAR" else PyCalendar.makeComponent(name, None)
+            self._pycalendar = PyCalendar(add_defaults=False) if name == "VCALENDAR" else PyCalendar.makeComponent(name, None)
             self._parent = None
 
     def __str__ (self):
@@ -519,7 +519,7 @@
         """
         return (
             Component(None, pycalendar=c, parent=self)
-            for c in self._pycalendar.getAllComponents()
+            for c in self._pycalendar.getComponents()
         )
 
     def addComponent(self, component):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110309/c9c82a16/attachment.html>


More information about the calendarserver-changes mailing list