Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5961a8e

Browse files
committed
Use super() ('newstyle class' in 2.7+)
1 parent 0a81024 commit 5961a8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/logging_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class LoggingHandler(logging.Handler):
1818
def __init__(self, use_color, write=sys.stdout.write):
19-
logging.Handler.__init__(self)
19+
super(LoggingHandler, self).__init__()
2020
self.use_color = use_color
2121
self.__write = write
2222

0 commit comments

Comments
 (0)