We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcb4792 commit c6425efCopy full SHA for c6425ef
changelog/67151.fixed.md
@@ -0,0 +1 @@
1
+Fix yumpkg module for Python<3.8
salt/modules/yumpkg.py
@@ -1425,8 +1425,8 @@ def install(
1425
'version': '<new-version>',
1426
'arch': '<new-arch>'}}}
1427
"""
1428
- if (version := kwargs.get("version")) is not None:
1429
- kwargs["version"] = str(version)
+ if kwargs.get("version") is not None:
+ kwargs["version"] = str(kwargs["version"])
1430
options = _get_options(**kwargs)
1431
1432
if salt.utils.data.is_true(refresh):
0 commit comments