summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVytis Banaitis <vytis.banaitis@gmail.com>2016-08-30 13:25:46 +0300
committerMichael Scherer <mscherer@users.noreply.github.com>2016-08-30 12:25:46 +0200
commitc6c281b1259750db7f949f75a286812584af2809 (patch)
tree8264998f68e56e10ad65fd1323eca5decf0f51ab
parent2a25e27979dcdf9033eb9127cff20337fe547b5d (diff)
downloadansible-modules-core-c6c281b1259750db7f949f75a286812584af2809.tar.gz
Fix change status on django_manage collectstatic. (#4239)
Ignore blank lines in collectstatic output.
-rw-r--r--web_infrastructure/django_manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py
index 54673465..3ce815dc 100644
--- a/web_infrastructure/django_manage.py
+++ b/web_infrastructure/django_manage.py
@@ -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(