mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix #19189 django_manage bug with python3 filter() returning iterator insted of list
This commit is contained in:
parent
15e12d2cf2
commit
c7637992fe
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ def main():
|
||||||
lines = out.split('\n')
|
lines = out.split('\n')
|
||||||
filt = globals().get(command + "_filter_output", None)
|
filt = globals().get(command + "_filter_output", None)
|
||||||
if filt:
|
if filt:
|
||||||
filtered_output = filter(filt, lines)
|
filtered_output = list(filter(filt, lines))
|
||||||
if len(filtered_output):
|
if len(filtered_output):
|
||||||
changed = filtered_output
|
changed = filtered_output
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue