Fix issues raised by Pylint version 2.14.4.

This commit is contained in:
Rafael Guterres Jeffman
2022-12-01 09:44:12 -03:00
parent b3856a1e2c
commit 1d8deb8e2d
2 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ class AutomountMap(IPAAnsibleModule):
self.params_fail_used_invalid(invalid, state)
def get_args(self, mapname, desc): # pylint: disable=no-self-use
def get_args(self, mapname, desc):
# automountmapname is required for all automountmap operations.
if not mapname:
self.fail_json(msg="automountmapname cannot be None or empty.")