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
pull/4534/head
Jon Turney 6 years ago committed by Jussi Pakkanen
parent d3f2172de8
commit d118e3ad4c
  1. 2
      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):

Loading…
Cancel
Save