The version() method wasn't supported by distro_info until version 0.23,
which is newer than some supported OS releases ship (Ubuntu 18.04 currently
has 0.18). Extend the class to provide our own copy for backwards
compatibility. Fixes: #5.
Use of distro-info is one of the things that prevents us from
being distro-agnostic, so it would be better if we could replace it
entirely.
The version() method wasn't supported by distro_info until version 0.23, which is newer than some supported OS releases ship (Ubuntu 18.04 currently has 0.18). Extend the class to provide our own copy for backwards compatibility. Fixes: #5.
Use of distro-info is one of the things that prevents us from being distro-agnostic, so it would be better if we could replace it entirely.