]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Fix compatibility with Python 3.8 496/head
authorJames Page <james.page@ubuntu.com>
Fri, 22 May 2020 06:49:19 +0000 (07:49 +0100)
committerJames Page <james.page@ubuntu.com>
Fri, 22 May 2020 06:49:19 +0000 (07:49 +0100)
commit56fc7f6160dfe96a564e04f04e7aa2612c4fae5e
tree0f1c786e6a6219bd53e6f629a350f7bb0a90f0cd
parentbcb968a13e0f2643507b06aa8f6249e360e8e742
Fix compatibility with Python 3.8

The deprecated platform.linux_distribution function was removed
in Python 3.8 - fallback to using parse_os_release if the function
is not found.

Signed-off-by: James Page <james.page@ubuntu.com>
ceph_deploy/hosts/remotes.py