From 9746dbe6430e2834ebb4e8a13e5bef0f66b05718 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 21 Jan 2020 10:48:24 +0100 Subject: [PATCH] idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name Fixes the workaround added in 9279b72a6. --- tools/idf_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idf_tools.py b/tools/idf_tools.py index 37eb1b4b4e..91e6a354a4 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -1356,7 +1356,7 @@ def main(argv): # On macOS, unset __PYVENV_LAUNCHER__ variable if it is set. # Otherwise sys.executable keeps pointing to the system Python, even when a python binary from a virtualenv is invoked. # See https://bugs.python.org/issue22490#msg283859. - os.environ.pop('__PYVENV_LAUNCER__', None) + os.environ.pop('__PYVENV_LAUNCHER__', None) if sys.version_info.major == 2: try: