diff --git a/tools/ldgen/generation.py b/tools/ldgen/generation.py index 5e08e177d3..28cc485918 100644 --- a/tools/ldgen/generation.py +++ b/tools/ldgen/generation.py @@ -591,7 +591,7 @@ class SectionsInfo(dict): try: results = parser.parseString(first_line) except ParseException as p: - raise ParseException("Parsing sections info for library " + sections_info_dump.name + " failed. " + p.message) + raise ParseException("Parsing sections info for library " + sections_info_dump.name + " failed. " + p.msg) archive = os.path.basename(results.archive_path) self.sections[archive] = SectionsInfo.__info(sections_info_dump.name, sections_info_dump.read())