Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
doQuery should call returnValue on return #303
erb@… originally submitted this as ticket:382
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.