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

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 5 19:28:41 PST 2006


Revision: 711
          http://trac.macosforge.org/projects/calendarserver/changeset/711
Author:   cdaboo at apple.com
Date:     2006-12-05 19:28:40 -0800 (Tue, 05 Dec 2006)

Log Message:
-----------
Result of function must be a tuple not a generator.

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

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2006-12-06 01:21:25 UTC (rev 710)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2006-12-06 03:28:40 UTC (rev 711)
@@ -618,7 +618,7 @@
                     return ()
     
                 def parseFreeBusy(freeBusySet):
-                    return (str(href) for href in freeBusySet.children)
+                    return tuple(str(href) for href in freeBusySet.children)
         
                 d = inbox.readProperty((caldav_namespace, "calendar-free-busy-set"), request)
                 d.addCallback(parseFreeBusy)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061205/2255673f/attachment.html


More information about the calendarserver-changes mailing list