From aeb8a10c01aeebc112840a251176556f96a238e4 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 19 Oct 2020 14:38:41 +0200 Subject: [PATCH] Undefined name: preceding_comments -> preceding_comments.message. (#1720) Signed-off-by: Christian Clauss --- scripts/update_configuration_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_configuration_doc.py b/scripts/update_configuration_doc.py index 920c466..8468594 100755 --- a/scripts/update_configuration_doc.py +++ b/scripts/update_configuration_doc.py @@ -179,7 +179,7 @@ def GenerateDocumentation(output_file, root): assert message.name not in output_dict output_dict[message.name] = content if message.preceding_comments: - content.extend(preceding_comments) + content.extend(message.preceding_comments) content.append('') for option_type, option_name, option_comments in message.options: # TODO(whess): For now we exclude InitialTrajectoryPose from the