Don't call len() when generating URLs unless absolutely necessary

Bug #620444 reported by Leonard Richardson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.batchnavigator
Fix Released
Undecided
Unassigned

Bug Description

We avoid calling len() within Batch, since len() can be expensive, but we call it all over the place in BatchNavigator. We can get rid of len() for everything except the URL of the last batch, and the distinction between singular and plural.

Related branches

Changed in lazr.batchnavigator:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.