On Sun, May 04, 2008 at 03:56:03PM -0000, Graham Binns wrote:
> shortlist() is used in BugTask.conjoined_master to listify the BugTask's
> Bug's BugTasks sequence. If this warning is getting raised this often it
> should probably be changed to use list().
No, it shouldn't use list(); shortlist() is the right thing to use here,
since whenever getting an unknown (unbounded) number of things from the
db, we want to put a limit on the number of rows returned.
The right thing to do there is to increase the limit. You can specify
the limit when calling shortlist().
On Sun, May 04, 2008 at 03:56:03PM -0000, Graham Binns wrote: conjoined_ master to listify the BugTask's
> shortlist() is used in BugTask.
> Bug's BugTasks sequence. If this warning is getting raised this often it
> should probably be changed to use list().
No, it shouldn't use list(); shortlist() is the right thing to use here,
since whenever getting an unknown (unbounded) number of things from the
db, we want to put a limit on the number of rows returned.
The right thing to do there is to increase the limit. You can specify
the limit when calling shortlist().