This function is used to print the error msg and exit from app if called from setup.py
(error_msg, from_setup)
| 881 | |
| 882 | |
| 883 | def _handle_error(error_msg, from_setup): |
| 884 | """ |
| 885 | This function is used to print the error msg and exit from app if |
| 886 | called from setup.py |
| 887 | """ |
| 888 | if from_setup: |
| 889 | print(error_msg) |
| 890 | sys.exit(1) |
| 891 | |
| 892 | return False, error_msg |
| 893 | |
| 894 | |
| 895 | # Shortcut configuration for Accesskey |
no outgoing calls
no test coverage detected