[CalendarServer-dev] Re: [CalendarServer-changes]
Wilfredo Sánchez Vega
wsanchez at wsanchez.net
Fri Jan 19 14:46:11 PST 2007
On Jan 19, 2007, at 2:06 PM, Cyrus Daboo wrote:
> I'm not sure a raise at the point is the right thing to do. In the
> specific case I was trying to deal with, provisionChild is called by
> locateChild as part of the attempt to get the resource for the URI.
> The "normal" behavior of locateChild when it does not find a child
> is to return None. So I just had provisionChild do the same. We
> could have provisionChild raise, but then we ought to catch that in
> locateChild and not pass it on - just return None which is the
> expected behavior there.
More information about the calendarserver-dev