diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py index e1447d5d17e..5467346505f 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, out.split('\n')) + filtered_output = filter(filt, lines) if len(filtered_output): changed = filtered_output