From c90d30a8607eacefe577fcc607364af05e56469b Mon Sep 17 00:00:00 2001
From: Mathieu Courtois <mathieu.courtois@edf.fr>
Date: Fri, 20 Dec 2024 07:40:12 +0100
Subject: [PATCH] [#34305] change default

---
 lib/hgaster/hooks/codeaster.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/hgaster/hooks/codeaster.py b/lib/hgaster/hooks/codeaster.py
index 98203e1..59f96f0 100644
--- a/lib/hgaster/hooks/codeaster.py
+++ b/lib/hgaster/hooks/codeaster.py
@@ -138,10 +138,10 @@ def run_ctest_minimal(repopath):
 
     logger.info("NB: This version will be used: %s", run_ctest)
     try:
-        answ = input("Do you want to continue (y/[n], 'Ctrl+C' to abort push) ? ")
+        answ = input("Do you want to continue ([y]/n, 'Ctrl+C' to abort push) ? ")
     except KeyboardInterrupt:
         return NOOK
-    if answ.lower() not in ("y", "o"):
+    if answ.lower() == "n":
         logger.info("run_ctest skipped.")
         return OK
 
-- 
GitLab