Fix #19189 django_manage bug with python3 filter() returning iterator insted of list

pull/19266/merge
Serhiy Martynenko 8 years ago committed by Toshio Kuratomi
parent 15e12d2cf2
commit c7637992fe

@ -288,7 +288,7 @@ def main():
lines = out.split('\n')
filt = globals().get(command + "_filter_output", None)
if filt:
filtered_output = filter(filt, lines)
filtered_output = list(filter(filt, lines))
if len(filtered_output):
changed = filtered_output

Loading…
Cancel
Save