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

Tools: Fixed typo in idf_tools.py

See merge request espressif/esp-idf!14527
pull/7106/head
Roland Dobai 2021-07-28 10:39:24 +00:00
commit 16057d6c8b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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]