tools/pyboard.py: Change base class of PyboardError to Exception.
Following standard practice for defining custom exceptions.
This commit is contained in:
parent
c1c798fbc3
commit
5ed8226e02
@ -81,7 +81,7 @@ def stdout_write_bytes(b):
|
||||
stdout.write(b)
|
||||
stdout.flush()
|
||||
|
||||
class PyboardError(BaseException):
|
||||
class PyboardError(Exception):
|
||||
pass
|
||||
|
||||
class TelnetToSerial:
|
||||
|
Loading…
Reference in New Issue
Block a user