James Page [Fri, 22 May 2020 06:49:19 +0000 (07:49 +0100)]
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>