Fix change status on django_manage collectstatic. (#4239)

Ignore blank lines in collectstatic output.
This commit is contained in:
Vytis Banaitis 2016-08-30 13:25:46 +03:00 committed by Michael Scherer
parent 2a25e27979
commit c6c281b125

View file

@ -167,7 +167,7 @@ def migrate_filter_output(line):
return ("Migrating forwards " in line) or ("Installed" in line and "Installed 0 object" not in line) or ("Applying" in line)
def collectstatic_filter_output(line):
return "0 static files" not in line
return line and "0 static files" not in line
def main():
command_allowed_param_map = dict(