1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 Matt Clay
parent 90bf5434d0
commit 3149fdf158

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(