Skip to content

Commit

Permalink
Remove unused __nonzero__ function
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Dec 17, 2024
1 parent 0e19012 commit 56ef89b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ert/validation/validation_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ def value(self) -> str | None:
def __bool__(self) -> bool:
return not self.__fail

def __nonzero__(self) -> bool:
return self.__bool__()

def __str__(self) -> str:
return self.__message

0 comments on commit 56ef89b

Please sign in to comment.