diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-17 17:21:26 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-18 17:54:51 -0400 |
commit | 9eac9e0ff20d7716b90ad5c61cfffc6cc6630005 (patch) | |
tree | 278be0c0c9e651cb1dad629febd57c3bdab0ccb6 /mesonbuild/interpreter/interpreter.py | |
parent | 39a92c74e831cf3a6460749056ae8dc751c83f02 (diff) | |
download | meson-9eac9e0ff20d7716b90ad5c61cfffc6cc6630005.zip meson-9eac9e0ff20d7716b90ad5c61cfffc6cc6630005.tar.gz meson-9eac9e0ff20d7716b90ad5c61cfffc6cc6630005.tar.bz2 |
fix some confusingly indirect code
rsplit(..., 1) always produces exactly one split, by design, there's no
need to then join a 1-element list via a generator comprehension after
extracting the end of it via pop. If this commit message sounds
confusing, then so was I when trying to figure out what this actually
did and if it needed extracting to PythonExternalModule.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
0 files changed, 0 insertions, 0 deletions