Merge lp:~rafalcieslak256/ubuntu-accomplishments-daemon/more-paths into lp:ubuntu-accomplishments-daemon
Proposed by
Rafał Cieślak
Status: | Merged |
---|---|
Merged at revision: | 14 |
Proposed branch: | lp:~rafalcieslak256/ubuntu-accomplishments-daemon/more-paths |
Merge into: | lp:ubuntu-accomplishments-daemon |
Diff against target: |
49 lines (+19/-6) 1 file modified
accomplishments/util/paths.py (+19/-6) |
To merge this branch: | bzr merge lp:~rafalcieslak256/ubuntu-accomplishments-daemon/more-paths |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jono Bacon | Pending | ||
Review via email: mp+102177@code.launchpad.net |
Description of the change
This branch introduces small additions to util/paths.py, that make it straightforward for other scripts (including viewer) to learn more about daemon's paths. This includes providing them with deamon_exec_dir, which is the path to the right daemon launcher - the one that has been installed with this API, and locale_dir - path to directory where locale .gmo files has been installed. This will work for both packaged & manually installed (to any prefix) daemon.
This is a crucial change needed to fix in #982047 "Starting the daemon from the client is broken for packages" and #983356 "gettext uses locales from wrong directory" in the Viewer.
To post a comment you must log in.