Do not inherit BaseException, but use Exception

As indicated by Python docs, custom exceptions should use Exception as
base.

Contributes to CURA-274
This commit is contained in:
Arjen Hiemstra 2015-10-30 13:44:04 +01:00
parent 38a212810f
commit 9626a604c2

View file

@ -58,7 +58,7 @@ class IspBase():
raise IspError("Called undefined verifyFlash")
class IspError(BaseException):
class IspError(Exception):
def __init__(self, value):
self.value = value