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.write(b)
|
||||||
stdout.flush()
|
stdout.flush()
|
||||||
|
|
||||||
class PyboardError(BaseException):
|
class PyboardError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class TelnetToSerial:
|
class TelnetToSerial:
|
||||||
|
|
Loading…
Reference in New Issue