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 94c6cf2..9da2c8d 100644 --- a/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py +++ b/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp/__init__.py @@ -111,8 +111,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