mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Use super() ('newstyle class' in 2.7+)
This commit is contained in:
parent
0a810249e3
commit
5961a8e5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ LOG_LEVEL_COLORS = {
|
|||
|
||||
class LoggingHandler(logging.Handler):
|
||||
def __init__(self, use_color, write=sys.stdout.write):
|
||||
logging.Handler.__init__(self)
|
||||
super(LoggingHandler, self).__init__()
|
||||
self.use_color = use_color
|
||||
self.__write = write
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue