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 Nov 16, 2023
1 parent e03bc94 commit 13057d7
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 @@ -188,22 +188,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 13057d7

Please sign in to comment.