Compare commits

...

3 commits

Author SHA1 Message Date
Ram Rachum
0561a89c0e Bump version to 1.2.3 2025-05-31 16:21:24 -07:00
Ram Rachum
05212d3092 Don't write color escape characters to file 2025-05-31 16:21:06 -07:00
Ram Rachum
3c0f9eb65a Include Andrej730 in AUTHORS 2025-04-10 23:56:22 +03:00
3 changed files with 3 additions and 2 deletions

View file

@ -27,3 +27,4 @@ Yael Mintz
Lumír 'Frenzy' Balhar
Lukas Klenk
sizhky
Andrej730

View file

@ -24,7 +24,7 @@ import collections
__VersionInfo = collections.namedtuple('VersionInfo',
('major', 'minor', 'micro'))
__version__ = '1.2.2'
__version__ = '1.2.3'
__version_info__ = __VersionInfo(*(map(int, __version__.split('.'))))
del collections, __VersionInfo # Avoid polluting the namespace

View file

@ -264,7 +264,7 @@ class Tracer:
self.max_variable_length = max_variable_length
self.normalize = normalize
self.relative_time = relative_time
self.color = color
self.color = color and (output is None)
if self.color:
self._FOREGROUND_BLUE = '\x1b[34m'