Merge lp:~lifeless/launchpad/edge into lp:launchpad
Proposed by
Robert Collins
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11824 |
Proposed branch: | lp:~lifeless/launchpad/edge |
Merge into: | lp:launchpad |
Diff against target: |
158 lines (+9/-91) 3 files modified
lib/canonical/config/schema-lazr.conf (+0/-7) lib/canonical/launchpad/browser/launchpad.py (+8/-42) lib/canonical/launchpad/pagetests/webservice/xx-service.txt (+1/-42) |
To merge this branch: | bzr merge lp:~lifeless/launchpad/edge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+39594@code.launchpad.net |
Commit message
Get rid of stale 'beta redirection' code.
Description of the change
Get rid of stale 'beta redirection' code.
To post a comment you must log in.
Given we aren't replacing parts of the url any more, we can simplify the following:
uri = URI(canonical_ url(bug. default_ bugtask) ) request. setTraversalSta ck([]) (str(uri) , self.request, status=303)
# Empty the traversal stack, since we're redirecting.
self.
# And perform a temporary redirect.
return RedirectionView
to just be
# Empty the traversal stack, since we're redirecting. request. setTraversalSta ck([]) (canonical_ url(bug. default_ bugtask) , self.request, status=303)
self.
# And perform a temporary redirect.
return RedirectionView
But on the whole, it looks fine.