From 92caa1343fb7dbc122d96bc5e8cc86ade3544e5b Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Nov 07 2023 05:15:35 +0000 Subject: Fix nowait syntax --- diff --git a/flatpak_module_tools/koji_utils.py b/flatpak_module_tools/koji_utils.py index b23915b..3a7c5fe 100644 --- a/flatpak_module_tools/koji_utils.py +++ b/flatpak_module_tools/koji_utils.py @@ -109,7 +109,7 @@ class WatcherDisplay(LiveDisplay): print(" " + format_task(self.profile, child), file=stream) -def watch_koji_task(profile: ProfileConfig, task_id: int, *, nowait: bool): +def watch_koji_task(profile: ProfileConfig, task_id: int, *, nowait=False): with WatcherDisplay(profile, task_id) as display: while True: display.query()