diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-09 21:49:07 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-06-16 19:04:03 -0400 |
commit | 3970f269fd23c148e94800ca01b6a2d76003a3a2 (patch) | |
tree | f58a4d9bd4a0a889d8ce2fc8987fa8f3e06dcbbf /mesonbuild/interpreter/dependencyfallbacks.py | |
parent | 6fb2f86379c224e99652748eea94a03321b9bd11 (diff) | |
download | meson-3970f269fd23c148e94800ca01b6a2d76003a3a2.zip meson-3970f269fd23c148e94800ca01b6a2d76003a3a2.tar.gz meson-3970f269fd23c148e94800ca01b6a2d76003a3a2.tar.bz2 |
Fix assert(not true) raising backtrace
When no message is provided to assert(), it uses the ast printer to show
the condition that failed. In this case the 'not' is the first string
appended to the result, self.result[-1] would raise range error.
Diffstat (limited to 'mesonbuild/interpreter/dependencyfallbacks.py')
0 files changed, 0 insertions, 0 deletions