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