This is an automated email from the ASF dual-hosted git repository.

utkarsharma pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 62b2af0620082b9e2bbcbc7a0b98b867e0653e08
Author: utkarsh sharma <[email protected]>
AuthorDate: Mon Jul 1 19:08:26 2024 +0530

    [TEMP] REMOVE MEgit statusgit status
---
 .../src/airflow_breeze/commands/main_command.py    | 27 +++++++++++-----------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/main_command.py 
b/dev/breeze/src/airflow_breeze/commands/main_command.py
index 7a23b4d6ca..f677a34467 100644
--- a/dev/breeze/src/airflow_breeze/commands/main_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/main_command.py
@@ -153,21 +153,20 @@ def check_for_python_emulation():
                 "[warning]You likely installed your Python wrongly and you 
should "
                 "remove it and reinstall from scratch[/]\n"
             )
-            from inputimeout import TimeoutOccurred, inputimeout
 
-            try:
-                user_status = inputimeout(
-                    prompt="Are you REALLY sure you want to continue? "
-                    "(answer with y otherwise we exit in 20s)\n",
-                    timeout=20,
-                )
-                if user_status.upper() not in ["Y", "YES"]:
-                    sys.exit(1)
-            except TimeoutOccurred:
-                from airflow_breeze.utils.console import get_console
-
-                get_console().print("\nNo answer, exiting...")
-                sys.exit(1)
+            # try:
+            #     user_status = inputimeout(
+            #         prompt="Are you REALLY sure you want to continue? "
+            #         "(answer with y otherwise we exit in 20s)\n",
+            #         timeout=20,
+            #     )
+            #     if user_status.upper() not in ["Y", "YES"]:
+            #         sys.exit(1)
+            # except TimeoutOccurred:
+            #     from airflow_breeze.utils.console import get_console
+            #
+            #     get_console().print("\nNo answer, exiting...")
+            #     sys.exit(1)
     except FileNotFoundError:
         pass
     except subprocess.CalledProcessError:

Reply via email to