Fix PyLint "not-an-iterable" error

This commit is contained in:
Ivan Kravets
2019-05-08 21:02:23 +03:00
parent f63fe1699b
commit 7687a0a929

View File

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