Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a sed() function for unbuffered output. #120

Merged
merged 1 commit into from
Mar 21, 2014

Conversation

agriffis
Copy link
Contributor

In bin/steps/collectstatic the unbuffered output in indent is subverted by
calling sed first:

python $MANAGE_FILE collectstatic --noinput  2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent

This commit fixes this by making sed itself unbuffered rather than putting
that logic in the indent function.

In `bin/steps/collectstatic` the unbuffered output in `indent` is subverted
by calling `sed` first:

```shell
python $MANAGE_FILE collectstatic --noinput  2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
```

This commit fixes this by making `sed` itself unbuffered rather than
putting that logic in the `indent` function.
kennethreitz added a commit that referenced this pull request Mar 21, 2014
Use a sed() function for unbuffered output.
@kennethreitz kennethreitz merged commit ed79e61 into heroku:master Mar 21, 2014
@kennethreitz
Copy link
Contributor

✨ 🍰 ✨

@agriffis agriffis deleted the sed-func branch August 19, 2015 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants