mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'get_diagnostics_typo' into 'master'
fix calling _get_diagnostics if python versions do not match See merge request ngsolve/netgen!572
This commit is contained in:
commit
971f7c6b07
@ -26,7 +26,7 @@ def _check_python_version():
|
||||
compile_version = f"{config.PYTHON_VERSION_MAJOR}.{config.PYTHON_VERSION_MINOR}"
|
||||
|
||||
if sys_version != compile_version:
|
||||
print(get_diagnostics(), file=sys.stderr)
|
||||
print(_get_diagnostics(), file=sys.stderr)
|
||||
raise RuntimeError(f"Python version mismatch: compile-time version is {compile_version}, run-time version is {sys_version}")
|
||||
|
||||
_check_python_version()
|
||||
|
Loading…
Reference in New Issue
Block a user