From 74d9c007734b9807ef9251f43f670130935800d4 Mon Sep 17 00:00:00 2001 From: Austin Appleby Date: Tue, 12 Nov 2024 20:22:05 -0800 Subject: [PATCH] put the rebuild reason under the status line --- hancho.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hancho.py b/hancho.py index e2d008a..c1aca59 100755 --- a/hancho.py +++ b/hancho.py @@ -802,8 +802,6 @@ async def task_main(self): app.tasks_skipped += 1 self._state = TaskState.SKIPPED return - elif verbosity or debug: - log(f"{color(128,128,128)}Reason: {self._reason}{color()}") try: # Wait for enough jobs to free up to run this task. @@ -815,7 +813,10 @@ async def task_main(self): self._state = TaskState.RUNNING_COMMANDS app.tasks_running += 1 self._task_index = app.tasks_running + self.print_status() + if verbosity or debug: + log(f"{color(128,128,128)}Reason: {self._reason}{color()}") for command in flatten(self.config.command): await self.run_command(command)