1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2701 from chamill/devel

Fix 'sequence' plugin error.
This commit is contained in:
Michael DeHaan 2013-04-17 08:48:15 -07:00
commit a02202eff7

View file

@ -173,7 +173,10 @@ class LookupModule(object):
def run(self, terms, inject=None, **kwargs): def run(self, terms, inject=None, **kwargs):
results = [] results = []
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject) terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
if isinstance(terms, basestring):
terms = [ terms ]
for term in terms: for term in terms:
try: try: