forked from platformio/platformio-core
Fix PyLint "not-an-iterable" error
This commit is contained in:
1 parent
947e31ca8d
commit
693304590c
1 file changed
+3
-1
@@ -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