From b8b7230c047168974e44db6b623e406cedbe909e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 8 Jun 2020 07:34:38 +0200 Subject: rtems_spec_to_x.py: Fix type checking issue --- rtems_spec_to_x.py | 1 + 1 file changed, 1 insertion(+) (limited to 'rtems_spec_to_x.py') diff --git a/rtems_spec_to_x.py b/rtems_spec_to_x.py index 348fd143..6fa5acaa 100755 --- a/rtems_spec_to_x.py +++ b/rtems_spec_to_x.py @@ -44,6 +44,7 @@ def _run_command(args: List[str], cwd: str) -> int: stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=cwd) + assert task.stdout is not None while True: line = task.stdout.readline() if line: -- cgit v1.2.3