Browse Source

Do not inherit BaseException, but use Exception

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

Contributes to CURA-274
Arjen Hiemstra 9 years ago
parent
commit
9626a604c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/USBPrinting/avr_isp/ispBase.py

+ 1 - 1
plugins/USBPrinting/avr_isp/ispBase.py

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