commit | 206b022ad0e192ce759d7ca3ebf596294ccba4b5 | [log] [tgz] |
---|---|---|
author | Yuto Takano <yuto.takano@arm.com> | Tue Aug 10 11:30:43 2021 +0100 |
committer | Yuto Takano <yuto.takano@arm.com> | Tue Aug 10 11:30:43 2021 +0100 |
tree | 22fc204a179c534cc3eda45a90f0e8d4ed556eca | |
parent | 7828ca2ea435464a5bbd2cc6f948684ced2d82c5 [diff] [blame] |
Fix off-by-one error in string formatting in Python Signed-off-by: Yuto Takano <yuto.takano@arm.com>
diff --git a/tests/scripts/check_names.py b/tests/scripts/check_names.py index 9577014..591389b 100755 --- a/tests/scripts/check_names.py +++ b/tests/scripts/check_names.py
@@ -138,7 +138,7 @@ def __str__(self): if self.quiet: return ( - "{0}:{1}:{3}" + "{0}:{1}:{2}" .format(self.match.filename, self.match.pos[0], self.match.name) )