diff options
author | Serhiy Martynenko <serhiy.martynenko@gmail.com> | 2016-12-11 11:51:17 -0200 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-01-03 22:43:09 -0800 |
commit | 6fc3f400a2e176766ca6dcd76b4883a0a6adb032 (patch) | |
tree | 3a73b6a014a352a6a4030819f62bcc7eef227389 | |
parent | e817b7c391a3b65b3d7fba05abc8695dca55a930 (diff) | |
download | ansible-modules-core-6fc3f400a2e176766ca6dcd76b4883a0a6adb032.tar.gz |
Fix #19189 django_manage bug with python3 filter() returning iterator insted of list
(cherry picked from c7637992fe957a5ebcc6059d99d8bad873a8d8ba)
-rw-r--r-- | web_infrastructure/django_manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py index 3ce815dc..4b7bd5bc 100644 --- a/web_infrastructure/django_manage.py +++ b/web_infrastructure/django_manage.py @@ -274,7 +274,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 |