Skip to content

Commit

Permalink
remove unusedself.rule = rule assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Oct 24, 2024
1 parent ae1a130 commit 342156b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion logprep/processor/base/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down

0 comments on commit 342156b

Please sign in to comment.