Skip to content

Commit 7687a0a

Browse files
committed
Fix PyLint "not-an-iterable" error
1 parent f63fe16 commit 7687a0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

platformio/exception.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ class PlatformioException(Exception):
1919

2020
def __str__(self): # pragma: no cover
2121
if self.MESSAGE:
22-
return self.MESSAGE.format(*self.args # pylint: disable=not-an-iterable
23-
)
22+
# pylint: disable=not-an-iterable
23+
return self.MESSAGE.format(*self.args)
24+
2425
return super(PlatformioException, self).__str__()
2526

2627

0 commit comments

Comments
 (0)