remove unused helptext formatting in CheckFilePermissionMissing

This commit is contained in:
Robert Kaussow 2021-02-06 15:58:36 +01:00
parent f41d046f1d
commit 975450f46a
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -58,14 +58,7 @@ class CheckFilePermissionMissing(StandardBase):
if not errors: if not errors:
for task in tasks: for task in tasks:
if self._check_mode(task): if self._check_mode(task):
errors.append( errors.append(self.Error(task["__line__"], self.helptext))
self.Error(
task["__line__"],
self.helptext.format(
preserve_modules=", ".join(self._preserve_modules)
)
)
)
return self.Result(candidate.path, errors) return self.Result(candidate.path, errors)