From 636ea74f52d424d7792db54fc60b45441cbc2c56 Mon Sep 17 00:00:00 2001 From: "d.kovalenko" Date: Tue, 22 Sep 2026 02:48:10 +0300 Subject: [PATCH] fix: internal_platform_utils is corrected _find_postmaster__throw_error__bad_line_format had bad assert --- src/impl/platforms/linux/internal_platform_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/impl/platforms/linux/internal_platform_utils.py b/src/impl/platforms/linux/internal_platform_utils.py index 1afcc0fd..29dbb508 100644 --- a/src/impl/platforms/linux/internal_platform_utils.py +++ b/src/impl/platforms/linux/internal_platform_utils.py @@ -246,6 +246,7 @@ def _FindPostmaster( pid_to_ppid, ) + # -------------------------------------------------------------------- def ProcessIsZombi_soft_check( self, os_ops: OsOperations, @@ -316,7 +317,7 @@ def _find_postmaster__throw_error__bad_line_format( ) -> typing.NoReturn: assert type(lines) is list assert type(i_line) is int - assert type(hint) is int + assert type(hint) is str error_lines: typing.List[str] = [] error_lines.append(