log: fix auto colorizing for custom streams
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 10 Jul 2014 08:26:19 +0000 (11:26 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:21:38 +0000 (14:21 +0200)
commit287688615250c9272ae3df1b138d289e524c96a4
treed3d80861fae4e7d61d68e709677cd7d23e467319
parent075beda4e48a855764c0367efa8a625a063a3735
log: fix auto colorizing for custom streams

Check for existence of isatty() method in the stream object. Some custom
streams (e.g. in nose) do not necessarily have this.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/log.py