Some style fixing, and added a test script to test for the major style violations.

This commit is contained in:
daid 2015-04-24 17:07:32 +02:00
parent 4a965e04b4
commit 83c367cdf4
4 changed files with 21 additions and 15 deletions

View file

@ -57,8 +57,10 @@ class IspBase():
"""
raise IspError("Called undefined verifyFlash")
class IspError(BaseException):
def __init__(self, value):
self.value = value
def __str__(self):
return repr(self.value)