Skip to content

Commit f0633fc

Browse files
committed
Replaced NotImplementedError with NotImplemented
Signed-off-by: fazledyn-or <[email protected]>
1 parent a998627 commit f0633fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SCons/Variables/ListVariable.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,22 @@ def __init__(self, initlist=None, allowedElems=None) -> None:
7070
self.allowedElems = sorted(allowedElems)
7171

7272
def __cmp__(self, other):
73-
raise NotImplementedError
73+
return NotImplemented
7474

7575
def __eq__(self, other):
76-
raise NotImplementedError
76+
return NotImplemented
7777

7878
def __ge__(self, other):
79-
raise NotImplementedError
79+
return NotImplemented
8080

8181
def __gt__(self, other):
82-
raise NotImplementedError
82+
return NotImplemented
8383

8484
def __le__(self, other):
85-
raise NotImplementedError
85+
return NotImplemented
8686

8787
def __lt__(self, other):
88-
raise NotImplementedError
88+
return NotImplemented
8989

9090
def __str__(self) -> str:
9191
if not len(self):

0 commit comments

Comments
 (0)