Merge lp:~stevenk/launchpad/hide-related-blueprints into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | 16734 |
Proposed branch: | lp:~stevenk/launchpad/hide-related-blueprints |
Merge into: | lp:launchpad |
Diff against target: |
263 lines (+44/-56) 2 files modified
lib/lp/bugs/browser/tests/test_bugtask.py (+43/-55) lib/lp/bugs/templates/bug-portlet-specs.pt (+1/-1) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/hide-related-blueprints |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+181198@code.launchpad.net |
Commit message
Correctly show or hide the Related blueprints portlet for a bug.
Description of the change
Currently, the Related blueprints portlet for a bug is always shown even if the bug has no linked specs. The portlet code gets an ResultSet, which evaluates to True even though there are no results, so sort that out by using is_empty(). Also drive-by a bunch of whitespace cleanup to force this branch to be net-negative.
To post a comment you must log in.