Problem: In common/print_color.py when used in buffered mode the output will not be reset, when doing a flush. On every flush the already flushed output will be printed again.
common/print_color.py
Solution: