Skip to content

Commit

Permalink
chore: update pytprocess docstring raises after pyupdate fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Nov 7, 2023
1 parent 614a6d9 commit d4f8761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scrapli/transport/plugins/system/ptyprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ def _setecho(fd: int, state: bool) -> None:
None
Raises:
IOError: if termios raises an exception getting the fd
OSError: if termios raises an exception getting the fd or raises an exception setting the
echo state on the fd
termios.error: also if termios rasies an exception gettign fd... unclear why the two errors!
IOError: if termios raises an exception setting the echo state on the fd
"""
import termios
Expand Down Expand Up @@ -244,7 +244,7 @@ def spawn(
ScrapliValueError: if no ssh binary found on PATH
Exception: IOError - if unable to set window size of child process
Exception: OSError - if unable to spawn command in child process
IOError: failing to reset window size
OSError: failing to reset window size
exception: if we get an exception decoding output
"""
Expand Down

0 comments on commit d4f8761

Please sign in to comment.