fix linting

This commit is contained in:
Robert Kaussow 2021-01-31 13:45:24 +01:00
parent 4278df2848
commit dd93c07279
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -34,8 +34,8 @@ class CheckGitHasVersion(StandardBase):
if not errors: if not errors:
for task in tasks: for task in tasks:
if ( if (
task['action']['__ansible_module__'] == 'git' task["action"]["__ansible_module__"] == "git"
and task['action'].get('version', 'HEAD') == 'HEAD' and task["action"].get("version", "HEAD") == "HEAD"
): ):
errors.append(self.Error(task["__line__"], self.helptext)) errors.append(self.Error(task["__line__"], self.helptext))