Debian Codegraph @

ansible_collections/community/postgresql/plugins/module_utils/version.py

raw
1 # -*- coding: utf-8 -*-
2 # Copyright: (c) 2021, Felix Fontein <[email protected]>
3 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4 """Provide version object to compare version numbers."""
5
6 from __future__ import absolute_import, division, print_function
7
8 __metaclass__ = type
9
10 # Once we drop support for Ansible 2.11, we can
11 # remove the _version.py file, and replace the following import by
12 #
13 # from ansible.module_utils.compat.version import LooseVersion
14
15 from ._version import LooseVersion # noqa