mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-10 06:44:28 +00:00
Fix off-by-one error in string formatting in Python
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
parent
7828ca2ea4
commit
206b022ad0
@ -138,7 +138,7 @@ class PatternMismatch(Problem): # pylint: disable=too-few-public-methods
|
||||
def __str__(self):
|
||||
if self.quiet:
|
||||
return (
|
||||
"{0}:{1}:{3}"
|
||||
"{0}:{1}:{2}"
|
||||
.format(self.match.filename, self.match.pos[0], self.match.name)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user