mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Assorted pylint fixes
This commit is contained in:
@@ -91,7 +91,7 @@ class NailGun(object):
|
||||
|
||||
def find_organization(self, name, **params):
|
||||
org = self._entities.Organization(self._server, name=name, **params)
|
||||
response = org.search(set(), {'search': 'name={}'.format(name)})
|
||||
response = org.search(set(), {'search': 'name={0}'.format(name)})
|
||||
|
||||
if len(response) == 1:
|
||||
return response[0]
|
||||
|
||||
@@ -248,7 +248,7 @@ class NailGun(object):
|
||||
|
||||
def find_organization(self, name, **params):
|
||||
org = self._entities.Organization(self._server, name=name, **params)
|
||||
response = org.search(set(), {'search': 'name={}'.format(name)})
|
||||
response = org.search(set(), {'search': 'name={0}'.format(name)})
|
||||
|
||||
if len(response) == 1:
|
||||
return response[0]
|
||||
|
||||
Reference in New Issue
Block a user