From ecf1c231aeb3a2fbbeac38aea9cbd7b8c942002b Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Mon, 25 Jan 2021 13:46:00 -0800 Subject: [PATCH] [lit] Update lit.py shebang for Python3 Update shebang to always use Python3 when executing `lit.py` directly. A previous change of mine [1] revealed that we still use Python2 on some bot configurations that invoke `llvm/utils/lit/lit.py` as a script directly (instead of `python3 path/to/lit.py`). [1] https://reviews.llvm.org/D94734 Differential Revision: https://reviews.llvm.org/D95393 --- utils/lit/lit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lit/lit.py b/utils/lit/lit.py index cbb91cead91..381228ea398 100755 --- a/utils/lit/lit.py +++ b/utils/lit/lit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from lit.main import main