From: Scott Date: Thu, 3 Feb 2022 07:37:32 +0000 (-0800) Subject: Let's call the base class' c'tor first, eh? X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b6dd2da4aecbc5d4690023d5a5e4f63052425444;p=python_utils.git Let's call the base class' c'tor first, eh? --- diff --git a/logging_utils.py b/logging_utils.py index 3fd2b84..8875b2f 100644 --- a/logging_utils.py +++ b/logging_utils.py @@ -223,8 +223,8 @@ class SquelchRepeatedMessagesFilter(logging.Filter): """ def __init__(self) -> None: - self.counters: collections.Counter = collections.Counter() super().__init__() + self.counters: collections.Counter = collections.Counter() @overrides def filter(self, record: logging.LogRecord) -> bool: