kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/mg-fix-typo' into 'master'
Tools: Fixed typo in idf_tools.py See merge request espressif/esp-idf!14527pull/7106/head
commit
16057d6c8b
|
@ -987,7 +987,7 @@ def get_python_env_path(): # type: () -> Tuple[str, str, str]
|
||||||
# OSError should cover FileNotFoundError and WindowsError
|
# OSError should cover FileNotFoundError and WindowsError
|
||||||
warn('Git was not found')
|
warn('Git was not found')
|
||||||
except subprocess.CalledProcessError as e:
|
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)
|
match = re.match(r'^v([0-9]+\.[0-9]+).*', idf_version_str)
|
||||||
if match:
|
if match:
|
||||||
idf_version = match.group(1) # type: Optional[str]
|
idf_version = match.group(1) # type: Optional[str]
|
||||||
|
|
Ładowanie…
Reference in New Issue