Merge lp:~salgado/launchpad/bug-535071 into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~salgado/launchpad/bug-535071 |
Merge into: | lp:launchpad |
Diff against target: |
118 lines (+58/-13) 3 files modified
lib/canonical/launchpad/browser/librarian.py (+22/-12) lib/canonical/launchpad/browser/tests/test_librarian.py (+30/-0) lib/canonical/librarian/client.py (+6/-1) |
To merge this branch: | bzr merge lp:~salgado/launchpad/bug-535071 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Björn Tillenius (community) | Abstain | ||
Gary Poster (community) | Approve | ||
Review via email: mp+22173@code.launchpad.net |
Description of the change
StreamOrRedirec
stream a restricted file while the librarian is down.
Just catches the exception and return a text/plain error message. The
choice for text/plain as the content-type is because I don't think it'd
make sense to render a regular LP page with just an error message in
this case.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/canonical
lib/canonical
lib/canonical
== Pylint notices ==
lib/canonical/
27: [F0401] Unable to import 'zope.interface'
lib/canonical/
21: [F0401] Unable to import 'zope.interface'
22: [F0401] Unable to import 'zope.publisher
23: [F0401] Unable to import 'zope.publisher
24: [F0401] Unable to import 'zope.security.
38: [F0401] Unable to import 'lazr.delegates'
Thank you
Gary