From 78178982a001475d580b8f368454b10bb309b27a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Morin Date: Fri, 9 Nov 2018 13:12:50 -0500 Subject: [PATCH] Call the flush method every time a Printer instance is called (so everytime it prints) --- src/rez/utils/colorize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rez/utils/colorize.py b/src/rez/utils/colorize.py index 5a1d4b0a1..596f51ccb 100644 --- a/src/rez/utils/colorize.py +++ b/src/rez/utils/colorize.py @@ -298,6 +298,7 @@ def __init__(self, buf=sys.stdout): def __call__(self, msg='', style=None): print >> self.buf, self.get(msg, style) + self.buf.flush() def get(self, msg, style=None): if style and self.colorize: