Merge lp:~tribaal/charms/trusty/ntpmaster/python3-hooks into lp:charms/trusty/ntpmaster
Proposed by
Chris Glass
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 16 | ||||
Proposed branch: | lp:~tribaal/charms/trusty/ntpmaster/python3-hooks | ||||
Merge into: | lp:charms/trusty/ntpmaster | ||||
Diff against target: |
113 lines (+31/-9) 2 files modified
hooks/charmhelpers/core/host.py (+30/-8) hooks/ntpmaster_hooks.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~tribaal/charms/trusty/ntpmaster/python3-hooks | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Review Queue (community) | automated testing | Needs Fixing | |
Charles Butler (community) | Approve | ||
Review via email: mp+293587@code.launchpad.net |
Description of the change
This branch makes the charm code run on python3 instead of python2, since the latter is not available on a Xenial+ image by default.
Steps taken:
- Refresh charmhelpers (they now use six where necesseary)
- Change the shebang to point to python3 instead of python.
Tests done:
Autopilot deployments didn't reveal any problems (charm installs and works as expected) on both trusty and xenial.
To post a comment you must log in.
This exact code is already published to the charm store at cs:~tribaal/ xenial/ ntpmaster- python3- 0 for testing purposes.