Fix PyLint "not-an-iterable" error

This commit is contained in:
Ivan Kravets
2019-05-08 12:41:11 +03:00
parent 947e31ca8d
commit 693304590c

View File

@ -19,7 +19,9 @@ class PlatformioException(Exception):
def __str__(self): # pragma: no cover
if self.MESSAGE:
return self.MESSAGE.format(*self.args)
return self.MESSAGE.format(
*self.args # pylint: disable=not-an-iterable
)
return super(PlatformioException, self).__str__()