Remove unused isinstance() in backends.py

This dead code was made impossible in 251dff5.
pull/12333/head
Tristan Partin 1 year ago committed by Eli Schwartz
parent e107b40225
commit ed9d03a088
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/backend/backends.py

@ -1831,8 +1831,6 @@ class Backend:
outdir_name = os.path.join('{includedir}', subdir)
for f in h.get_sources():
if not isinstance(f, File):
raise MesonException(f'Invalid header type {f!r} can\'t be installed')
abspath = f.absolute_path(srcdir, builddir)
i = InstallDataBase(abspath, outdir, outdir_name, h.get_custom_install_mode(), h.subproject, tag='devel', follow_symlinks=h.follow_symlinks)
d.headers.append(i)

Loading…
Cancel
Save