fixup! pylint: Ignore usage of 'unicode' before assignment

This commit is contained in:
Rafael Guterres Jeffman
2024-05-22 11:20:12 -03:00
parent 52241fe233
commit 77c1d206d3
8 changed files with 20 additions and 8 deletions

View File

@@ -658,7 +658,7 @@ def main():
# Check authorization
result = remote_api.Command['hostgroup_find'](
cn=u'ipaservers',
host=[unicode(api.env.host)] # pylint: disable=E0606
host=[unicode(api.env.host)] # pylint: disable=W0012,E0606
)['result']
add_to_ipaservers = not result