From 693304590c918a66e2c3facf49b3e02eb61e5b3d Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 8 May 2019 12:41:11 +0300 Subject: [PATCH] Fix PyLint "not-an-iterable" error --- platformio/exception.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platformio/exception.py b/platformio/exception.py index bba8955a..6f1dd4cf 100644 --- a/platformio/exception.py +++ b/platformio/exception.py @@ -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__()