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 authored and henryiii committed Oct 5, 2024
1 parent 4caa00b commit 7e4033c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plumbum/machines/paramiko_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,22 +190,22 @@ class ParamikoMachine(BaseRemoteMachine):

class RemoteCommand(BaseRemoteMachine.RemoteCommand): # type: ignore[valid-type, misc]
def __or__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __gt__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __rshift__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __ge__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __lt__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __lshift__(self, *_):
raise NotImplementedError("Not supported with ParamikoMachine")
return NotImplemented

def __init__(
self,
Expand Down

0 comments on commit 7e4033c

Please sign in to comment.