diff --git a/lib/hgaster/hooks/codeaster.py b/lib/hgaster/hooks/codeaster.py index 98203e1cde38513762f0a0171a708fd99665ab09..59f96f0d81002986791b74a3bd8af2ee012b684f 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