mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix PyLint "not-an-iterable" error
This commit is contained in:
@ -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__()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user