mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
More pep8
This commit is contained in:
@@ -45,10 +45,10 @@ class LookupModule(object):
|
||||
def __lookup_injects(self, terms, inject):
|
||||
results = []
|
||||
for x in terms:
|
||||
if isinstance(x, basestring) and x in inject:
|
||||
results.append(inject[x])
|
||||
else:
|
||||
results.append(x)
|
||||
if isinstance(x, basestring) and x in inject:
|
||||
results.append(inject[x])
|
||||
else:
|
||||
results.append(x)
|
||||
return results
|
||||
|
||||
def run(self, terms, inject=None, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user