Some fixes for new PyLint

This commit is contained in:
Ivan Kravets
2017-04-15 16:36:59 +03:00
parent 64ed76762e
commit 44be1dc1c7
10 changed files with 22 additions and 29 deletions

View File

@ -20,8 +20,7 @@ class PlatformioException(Exception):
def __str__(self): # pragma: no cover
if self.MESSAGE:
return self.MESSAGE.format(*self.args)
else:
return Exception.__str__(self)
return Exception.__str__(self)
class ReturnErrorCode(PlatformioException):