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