batch 2 - update Python idiom to 3.7 using pyupgrade (#11342)

* batch 2 - update Python idiom to 3.7 using pyupgrade

* Apply suggestions from code review
This commit is contained in:
Alexei Znamensky
2025-12-30 22:50:16 +13:00
committed by GitHub
parent 9e363c9f94
commit 266d9d3fb0
19 changed files with 64 additions and 70 deletions

View File

@@ -31,7 +31,7 @@ class ActionModule(ActionBase):
if task_vars is None:
task_vars = dict()
result = super(ActionModule, self).run(tmp, task_vars)
result = super().run(tmp, task_vars)
del tmp # tmp no longer has any effect
if "that" not in self._task.args: