Merge ~sylvain-pineau/plainbox:is_snap_based_helper into plainbox:master
Proposed by
Sylvain Pineau
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 675c511894f6060ab1494e8aeefbe023c94e93a7 |
Merged at revision: | 259a49907b0f6d978a5c032d68b00f78a8d7bab8 |
Proposed branch: | ~sylvain-pineau/plainbox:is_snap_based_helper |
Merge into: | plainbox:master |
Diff against target: |
66 lines (+20/-0) 1 file modified
plainbox/impl/unit/unit.py (+20/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Cave (community) | Approve | ||
Sylvain Pineau | Needs Resubmitting | ||
Review via email: mp+335304@code.launchpad.net |
Description of the change
this MR adds helpers functions to detect is we're running from a snap on ubuntu core (not classic).
Tested using https:/
To post a comment you must log in.
This MR also seems to remove this censoREd module, but isn't mentioned in the description. Is that intended?
The function is_classic_snap() is defined and a variable is_classic_snap referenced, but I don't see it being set anywhere. If the variable is not going to be initialised then maybe it should be removed?