Merge branch 'bugfix/mg-fix-typo' into 'master'

Tools: Fixed typo in idf_tools.py

See merge request espressif/esp-idf!14527
This commit is contained in:
Roland Dobai 2021-07-28 10:39:24 +00:00
commit 16057d6c8b

View File

@ -987,7 +987,7 @@ def get_python_env_path(): # type: () -> Tuple[str, str, str]
# OSError should cover FileNotFoundError and WindowsError
warn('Git was not found')
except subprocess.CalledProcessError as e:
warn('Git describe was unsuccessul: {}'.format(e.output))
warn('Git describe was unsuccessful: {}'.format(e.output))
match = re.match(r'^v([0-9]+\.[0-9]+).*', idf_version_str)
if match:
idf_version = match.group(1) # type: Optional[str]