Re: [Modeling-users] slooow delete
Status: Abandoned
Brought to you by:
sbigaret
From: John L. <jl...@gm...> - 2005-03-18 14:22:34
|
Thank you very much for your reply. Just one small doubt remains: On Fri, 18 Mar 2005 12:18:57 +0100, Sebastien Bigaret <sbi...@us...> wrote: > > And, if you do this: just make sure that > > - either task.getMeal().isFault() == true > > - or that, in case it is not, that > task.getMeal().getTasks().isFault()==true > > In this last case, if it is false, then you can do the > meal.addToTasks(task) without any overhead, since this indicate > that > the fetch has already be done. is there any case where the last line would return false, instead of raising an AttributeError? -- John Lenton (jl...@gm...) -- Random fortune: Don't anthropomorphise computers and cars, They hate that. |