From 342156b9de8a74bfadd862700387e88b42f0ec5b Mon Sep 17 00:00:00 2001 From: dtrai2 Date: Thu, 24 Oct 2024 15:00:07 +0200 Subject: [PATCH] remove unused`self.rule = rule` assignment --- logprep/processor/base/exceptions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/logprep/processor/base/exceptions.py b/logprep/processor/base/exceptions.py index 0d4a982ae..9f020b3c6 100644 --- a/logprep/processor/base/exceptions.py +++ b/logprep/processor/base/exceptions.py @@ -54,7 +54,6 @@ class ProcessingError(LogprepException): def __init__(self, message: str, rule: "Rule"): rule.metrics.number_of_errors += 1 - self.rule = rule super().__init__(f"{self.__class__.__name__}: {message}")