From b53fe55612f62bfebfb3457e1b0ec3cbbcef2732 Mon Sep 17 00:00:00 2001 From: MarcelJordense <37329887+MarcelJordense@users.noreply.github.com> Date: Mon, 29 Jul 2019 21:38:43 +0200 Subject: [PATCH] remove assert on missing comment (#33) Signed-off-by: Marcel Jordense --- .../rosidl_typesupport_opensplice_cpp/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py b/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py index 9522f9b..8666f0c 100644 --- a/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py +++ b/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py @@ -115,8 +115,6 @@ def _replace_path_and_timestamp(lines, msg_name, idl_path): assert found_source, "No '// Source: ' line was found before" lines[i] = '// Generated: timestamp removed to make the build reproducible' break - else: - assert False, "Failed to find '// Generated: ' line" return lines