From e388c2e10fe41c7b081399944972cc3d219df48d Mon Sep 17 00:00:00 2001 From: Terje Kvernes Date: Wed, 16 Oct 2024 13:27:40 +0200 Subject: [PATCH] Output OK messages... (#310) --- mreg_cli/outputmanager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mreg_cli/outputmanager.py b/mreg_cli/outputmanager.py index bf40fa67..7fa71190 100644 --- a/mreg_cli/outputmanager.py +++ b/mreg_cli/outputmanager.py @@ -458,6 +458,10 @@ def filtered_output(self) -> list[str]: def render(self) -> None: """Print the output to stdout, and records it if recording is active.""" self.recording_output() + + for line in self._ok: + print(f"OK: {line}") + for line in self.filtered_output(): print(line)