From 32ca2cf500269f3c253386e63fb24f1ca7de5164 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Wed, 21 Sep 2022 16:06:07 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Henry Mercer --- python-setup/auto_install_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-setup/auto_install_packages.py b/python-setup/auto_install_packages.py index f58900b90f..3deb5ad75a 100755 --- a/python-setup/auto_install_packages.py +++ b/python-setup/auto_install_packages.py @@ -162,9 +162,9 @@ def install_packages(codeql_base_dir) -> Optional[str]: # error message than a traceback + `No such file or directory: 'python2'` if shutil.which("python2") is None: sys.exit( - "package installation failed: we detected this code as Python 2, but 'python2' executable was not available. " + "Python package installation failed: we detected this code as Python 2, but the 'python2' executable was not available. " "To enable automatic package installation, please install 'python2' before the 'github/codeql-action/init' step, " - "such as running 'sudo apt install python2' (Ubuntu 22.04). " + "for example by running 'sudo apt install python2' (Ubuntu 22.04). " "If your code is not Python 2, but actually Python 3, please file a bug report at https://github.com/github/codeql-action/issues/new" )