forked from platformio/platformio-core
Fix PyLint "not-an-iterable" error
This commit is contained in:
@ -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__()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user