mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 18:24:44 +00:00
Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0561a89c0e | ||
|
|
05212d3092 | ||
|
|
3c0f9eb65a |
3 changed files with 3 additions and 2 deletions
1
AUTHORS
1
AUTHORS
|
|
@ -27,3 +27,4 @@ Yael Mintz
|
|||
Lumír 'Frenzy' Balhar
|
||||
Lukas Klenk
|
||||
sizhky
|
||||
Andrej730
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue