Merge lp:~jamesh/unity-scope-yelp/preview into lp:unity-scope-yelp
Proposed by
James Henstridge
Status: | Merged |
---|---|
Approved by: | James Henstridge |
Approved revision: | 29 |
Merged at revision: | 28 |
Proposed branch: | lp:~jamesh/unity-scope-yelp/preview |
Merge into: | lp:unity-scope-yelp |
Diff against target: |
262 lines (+122/-70) 2 files modified
src/unity_yelp_daemon.py (+93/-59) tests/test_yelp.py (+29/-11) |
To merge this branch: | bzr merge lp:~jamesh/unity-scope-yelp/preview |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Callé | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
Add a simple preview to the scope, and correctly discover documentation in the fallback "C" directory when there are localised manuals.
Description of the change
Add a preview to the Yelp scope.
I also updated the code that discovers installed documentation to not completely ignore the "C" fallback directory if there is any localised documentation (it now picks up any manuals from there that haven't been localised).
I also switched to using cElementTree for the parsing to speed things up a bit.
To post a comment you must log in.
PASSED: Continuous integration, rev:29 jenkins. qa.ubuntu. com/job/ unity-scope- yelp-ci/ 3/ jenkins. qa.ubuntu. com/job/ unity-scope- yelp-raring- amd64-ci/ 3
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-scope- yelp-ci/ 3/rebuild
http://