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

Call the flush method every time a Printer instance is called #540

Merged

Conversation

JeanChristopheMorinRodeoFX
Copy link
Contributor

This is a really really simple PR.

Logs printed with rez.utils.colorize.Printer are being buffered for too long and it's causing the logs to be unordered in multiple cases (simply with rez-env -- some commands 1> /tmp/file or under Jenkins).

So I'm just flushing the buffer given to Printer every time it prints.

@JeanChristopheMorinRodeoFX
Copy link
Contributor Author

@nerdvegas I'm wondering if we could get this merged soon-ish? I'd like to get rid of this one line from our fork... Thanks!

@nerdvegas
Copy link
Contributor

nerdvegas commented Jan 21, 2019 via email

@JeanChristopheMorinRodeoFX
Copy link
Contributor Author

Great! Let me know if you need some help on some stuff, like code review, or anything else.

@nerdvegas nerdvegas merged commit 7817898 into AcademySoftwareFoundation:master Mar 15, 2019
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