Fix pylint's warning invalid-name.

This commit is contained in:
Rafael Guterres Jeffman
2021-04-29 16:22:05 -03:00
parent 3e3f82c461
commit 935956b610
5 changed files with 30 additions and 18 deletions

View File

@@ -1377,7 +1377,7 @@ def define_commands_for_present_state(module, zone_name, entry, res_find):
_args['idnsname'] = name
_commands.append([zone_name, 'dnsrecord_add', _args])
# clean used fields from args
for f in part_fields:
for f in part_fields: # pylint: disable=invalid-name
if f in args:
del args[f]
else: