From 2b532d42379ee18ce374fb2d60ea62c6ac77c031 Mon Sep 17 00:00:00 2001 From: Reuben D'Netto Date: Mon, 9 Apr 2018 21:36:25 +1000 Subject: [PATCH] Use entropy_client.output() --- client/solo/commands/rescue.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/solo/commands/rescue.py b/client/solo/commands/rescue.py index 8c513c5af..ba1f8b8c1 100644 --- a/client/solo/commands/rescue.py +++ b/client/solo/commands/rescue.py @@ -447,7 +447,11 @@ Tools to rescue the running system. # Sanity check: make sure we're not accidentally using the in-RAM db if not os.path.exists(repo_path): - print("Repository creation failed") + entropy_client.output( + darkred(_("Repository creation failed")), + level="error", + importance=1, + header=darkred(" @@ ")) return 1 entropy_client.output(