Supress ANSI escape sequences when terminal not detected 09/107209/2
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 6 May 2020 10:37:23 +0000 (03:37 -0700)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 8 May 2020 06:50:13 +0000 (06:50 +0000)
commit879d5677d2312a87dce030dc46d9f621a308ed2c
treed1b0174d317ca82a3b9a06f16401e40d9efca47b
parent1b6431d1928dd532271ed6a109622a7b44394c36
Supress ANSI escape sequences when terminal not detected

This prevents obscured output when redirecting output to
a file descriptor.

Change-Id: Ie56b6f65b1d2adffc69d3f75a9c8f98c0444faa8
Issue-ID: INT-1577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
test/mocks/mass-pnf-sim/mass-pnf-sim.py