diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-25 14:43:24 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-11-19 21:07:37 +0200 |
commit | d118e3ad4c21946dc3fc204f6649c424eedabb90 (patch) | |
tree | 08055fb8c55e4230ee474cee4193505faeeb2e8d | |
parent | d3f2172de81b8ebd5732e874f737d27f6f76757a (diff) | |
download | meson-d118e3ad4c21946dc3fc204f6649c424eedabb90.zip meson-d118e3ad4c21946dc3fc204f6649c424eedabb90.tar.gz meson-d118e3ad4c21946dc3fc204f6649c424eedabb90.tar.bz2 |
lgtm: Instantiating an exception, but not raising it
Instantiating an exception, but not raising it, has no effect
This alert was introduced in 92487ea 10 months ago
-rw-r--r-- | mesonbuild/dependencies/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index b1d79bb..0390391 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -174,7 +174,7 @@ class Dependency: parent (if any) and the requested values of any dependencies will be added as well. """ - RuntimeError('Unreachable code in partial_dependency called') + raise RuntimeError('Unreachable code in partial_dependency called') class InternalDependency(Dependency): |