mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
Fix E126, E123 pep8 errors, and ansible-format-automatic-specification pylint error (#39740)
This commit is contained in:
@@ -94,10 +94,14 @@ from ansible.module_utils.ovirt import (
|
||||
def _permissions_service(connection, module):
|
||||
if module.params['user_name']:
|
||||
service = connection.system_service().users_service()
|
||||
entity = next(iter(service.list(search='usrname={}'.format(
|
||||
'{}@{}'.format(module.params['user_name'], module.params['authz_name'])
|
||||
entity = next(
|
||||
iter(
|
||||
service.list(
|
||||
search='usrname={0}'.format(
|
||||
'{0}@{1}'.format(module.params['user_name'], module.params['authz_name'])
|
||||
)
|
||||
)
|
||||
)),
|
||||
),
|
||||
None
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user