Debian Codegraph @

ansible_collections/community/crypto/plugins/module_utils/_version.py

raw
1 # Copyright (c) 2021, Felix Fontein <[email protected]>
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 # Note that this module util is **PRIVATE** to the collection. It can have breaking changes at any time.
6 # Do not use this from other collections or standalone plugins/modules!
7
8 """Provide version object to compare version numbers."""
9
10 from __future__ import annotations
11
12 from ansible.module_utils.compat.version import LooseVersion
13
14 __all__ = ("LooseVersion",)