forked from platformio/platformio-core
Share common (global) options between declared build environments using "[env]" section // Resolve #1643 Resolve #790
This commit is contained in:
@ -19,9 +19,8 @@ class PlatformioException(Exception):
|
||||
|
||||
def __str__(self): # pragma: no cover
|
||||
if self.MESSAGE:
|
||||
return self.MESSAGE.format(
|
||||
*self.args # pylint: disable=not-an-iterable
|
||||
)
|
||||
return self.MESSAGE.format(*self.args # pylint: disable=not-an-iterable
|
||||
)
|
||||
return super(PlatformioException, self).__str__()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user