Merge ~cjwatson/launchpad:optimize-product-portlet-packages into launchpad:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 1fcdf85900d4be9c46c0f34be66ab11fafd62856 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:optimize-product-portlet-packages |
Merge into: | launchpad:master |
Diff against target: |
85 lines (+38/-4) 2 files modified
lib/lp/registry/browser/product.py (+11/-4) lib/lp/registry/browser/tests/test_product.py (+27/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email:
|
Commit message
Avoid O(n) queries in ProductPackages
Description of the change
While QAing commit 98b4e22ea22f7c0
The `SourcePackage.