1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-05 10:08:58 +00:00

Merge pull request #3654 from MaxIV-KitsControls/devel

Fix nested loop for more than 3 elements
This commit is contained in:
Michael DeHaan 2013-08-01 17:11:26 -07:00
commit 3ebbb56479
2 changed files with 10 additions and 1 deletions

View file

@ -34,7 +34,7 @@ def combine(a,b):
results = []
for x in a:
for y in b:
results.append([x,y])
results.append(flatten([x,y]))
return results
class LookupModule(object):