Skip to content

Commit 32ca2cf

Browse files
Apply suggestions from code review
Co-authored-by: Henry Mercer <[email protected]>
1 parent b2fc1e1 commit 32ca2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python-setup/auto_install_packages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ def install_packages(codeql_base_dir) -> Optional[str]:
162162
# error message than a traceback + `No such file or directory: 'python2'`
163163
if shutil.which("python2") is None:
164164
sys.exit(
165-
"package installation failed: we detected this code as Python 2, but 'python2' executable was not available. "
165+
"Python package installation failed: we detected this code as Python 2, but the 'python2' executable was not available. "
166166
"To enable automatic package installation, please install 'python2' before the 'github/codeql-action/init' step, "
167-
"such as running 'sudo apt install python2' (Ubuntu 22.04). "
167+
"for example by running 'sudo apt install python2' (Ubuntu 22.04). "
168168
"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"
169169
)
170170

0 commit comments

Comments
 (0)