Merge lp:~james-page/charm-helpers/lp1537155 into lp:charm-helpers
Proposed by
James Page
Status: | Merged |
---|---|
Merged at revision: | 525 |
Proposed branch: | lp:~james-page/charm-helpers/lp1537155 |
Merge into: | lp:charm-helpers |
Diff against target: |
73 lines (+30/-7) 3 files modified
charmhelpers/contrib/openstack/context.py (+11/-7) test_requirements.txt (+1/-0) tests/contrib/openstack/test_os_contexts.py (+18/-0) |
To merge this branch: | bzr merge lp:~james-page/charm-helpers/lp1537155 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Liam Young (community) | Approve | ||
Review via email: mp+284411@code.launchpad.net |
Description of the change
Support number of cpu detection on Ubuntu 16.04
The version of psutil in 16.04 does not have NUM_CPUS.
Use the new cpu_count function if present, otherwise use NUM_CPUS.
To post a comment you must log in.
Approved