Skip to content

Commit

Permalink
CR: if -> elif
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-granulate committed Jun 23, 2024
1 parent 7312968 commit 1655239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gprofiler/profilers/python_ebpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _read_process_standard_outputs(self) -> Tuple[Optional[str], Optional[str]]:
output = cast(str, output)
if key.fileobj is self.process.stdout:
stdout = output
if key.fileobj is self.process.stderr:
elif key.fileobj is self.process.stderr:
stderr = output
return stdout, stderr

Expand Down

0 comments on commit 1655239

Please sign in to comment.