Skip to content

Commit 636ea74

Browse files
fix: internal_platform_utils is corrected
_find_postmaster__throw_error__bad_line_format had bad assert
1 parent b7de427 commit 636ea74

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/impl/platforms/linux/internal_platform_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def _FindPostmaster(
246246
pid_to_ppid,
247247
)
248248

249+
# --------------------------------------------------------------------
249250
def ProcessIsZombi_soft_check(
250251
self,
251252
os_ops: OsOperations,
@@ -316,7 +317,7 @@ def _find_postmaster__throw_error__bad_line_format(
316317
) -> typing.NoReturn:
317318
assert type(lines) is list
318319
assert type(i_line) is int
319-
assert type(hint) is int
320+
assert type(hint) is str
320321

321322
error_lines: typing.List[str] = []
322323
error_lines.append(

0 commit comments

Comments
 (0)