mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-28 03:30:36 +00:00
Fix compatibility problem with logging.StreamHandler in Python 2.7
This commit is contained in:
parent
473c834f0c
commit
3795a91a99
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ class ColoredStreamHandler (logging.StreamHandler, object):
|
|||
"""Log to given stream (a file-like object) or to stderr if
|
||||
strm is None.
|
||||
"""
|
||||
super(ColoredStreamHandler, self).__init__(strm=strm)
|
||||
super(ColoredStreamHandler, self).__init__(strm)
|
||||
self.stream = Colorizer(self.stream)
|
||||
# standard log level colors (used by get_color)
|
||||
self.colors = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue