From b11df88395a6543ab1ea9354050f0b885959854a Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Thu, 29 Nov 2018 16:19:01 +0100 Subject: Documentation and unit test update --- mesonbuild/mintro.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mesonbuild/mintro.py') diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index cf1aeff..5643b1a 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -106,12 +106,7 @@ def list_targets(builddata: build.Build, installdata, backend: backends.Backend) if installdata and target.should_install(): t['installed'] = True - t['install_filename'] = [] - - for i in target.outputs: - fname = intall_lookuptable.get(i) - if fname is not None: - t['install_filename'] += [fname] + t['install_filename'] = [intall_lookuptable.get(x, None) for x in target.get_outputs()] else: t['installed'] = False tlist.append(t) -- cgit v1.1