mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 21:29:19 +00:00
Use str instead of __str__
This commit is contained in:
parent
9f81b6e9a0
commit
61e4cfb72d
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class UV:
|
|||
try:
|
||||
python_version = module.params["version"]
|
||||
self.python_version = StrictVersion(python_version)
|
||||
self.python_version_str = self.python_version.__str__()
|
||||
self.python_version_str = str(self.python_version)
|
||||
except ValueError:
|
||||
self.module.fail_json(
|
||||
msg="Unsupported version format. Valid version numbers consist of two or three dot-separated numeric components, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue