[CalendarServer-dev] [Calendar and Contacts Server] #382: doQuery should call returnValue on return

Calendar and Contacts Server trac at macosforge.org
Fri Jun 25 06:11:56 PDT 2010


#382: doQuery should call returnValue on return
-----------------------------+----------------------------------------------
 Reporter:  erb@…            |       Owner:  wsanchez@…        
     Type:  Defect           |      Status:  new               
 Priority:  3: Important     |   Milestone:  CalendarServer-2.4
Component:  Calendar Server  |    Severity:  Serious           
 Keywords:                   |  
-----------------------------+----------------------------------------------
 In twistedcaldav/method/report_calquery.py the subfunction doQuery is
 declared with @inlineCallbacks, so it ought to call returnValue instead of
 return at line 184.

 Also it should return True otherwise
 report_common.applyToCalendarCollections won't apply doQuery to all
 calendar collections.

 A patch is included. This also applies to trunk, although the filename has
 been changed.

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/382>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list