Merge lp:~ack/landscape-client/package-reporter-permissions into lp:~landscape/landscape-client/trunk
Proposed by
Alberto Donato
Status: | Merged |
---|---|
Approved by: | Free Ekanayaka |
Approved revision: | 342 |
Merged at revision: | 342 |
Proposed branch: | lp:~ack/landscape-client/package-reporter-permissions |
Merge into: | lp:~landscape/landscape-client/trunk |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~ack/landscape-client/package-reporter-permissions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Free Ekanayaka (community) | Approve | ||
Alberto Donato (community) | Abstain | ||
Thomas Herve (community) | Approve | ||
Review via email: mp+67040@code.launchpad.net |
Description of the change
This fixes bug #804008, running package reporter as user 'landscape' also APT sources changes.
Also, it introduces a general-purpose process launcher using Twisted, refactoring some existing code to make it reusable.
To post a comment you must log in.
[1]
- def run_process(self, command, args):
+ def _run_process(self, command, args, env={}, path=None, uid=None, gid=None):
I don't see the point of having env and path here, as you never pass them. But you always pass uid and gid, so they shouldn't be optional.
+1!