Skip to content

Commit

Permalink
Replaced NotImplementedError with NotImplemented
Browse files Browse the repository at this point in the history
Signed-off-by: fazledyn-or <[email protected]>
  • Loading branch information
fazledyn-or committed Dec 5, 2023
1 parent a998627 commit f0633fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SCons/Variables/ListVariable.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,22 @@ def __init__(self, initlist=None, allowedElems=None) -> None:
self.allowedElems = sorted(allowedElems)

def __cmp__(self, other):
raise NotImplementedError
return NotImplemented

def __eq__(self, other):
raise NotImplementedError
return NotImplemented

def __ge__(self, other):
raise NotImplementedError
return NotImplemented

def __gt__(self, other):
raise NotImplementedError
return NotImplemented

def __le__(self, other):
raise NotImplementedError
return NotImplemented

def __lt__(self, other):
raise NotImplementedError
return NotImplemented

def __str__(self) -> str:
if not len(self):
Expand Down

0 comments on commit f0633fc

Please sign in to comment.