mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:24:35 +02:00
lint: locally disable non-parent-init-called
This commit is contained in:
@@ -18,6 +18,7 @@ class StreamHandler(logging.StreamHandler):
|
||||
|
||||
def __init__(self, stream=None):
|
||||
if sys.version_info < (2, 7):
|
||||
# pylint: disable=non-parent-init-called
|
||||
logging.StreamHandler.__init__(self) # pragma: no cover
|
||||
else:
|
||||
super(StreamHandler, self).__init__(stream)
|
||||
|
||||
Reference in New Issue
Block a user