aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-03-04 11:07:09 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-03-04 17:36:41 +0100
commit675bb2f340e581c3b092d082a43b22ce3bae0da8 (patch)
tree128d61f88d3291298f969e449b35b78a80f83d77
parentba9bfd2bd84985d8915f79d2415bffe68e9deada (diff)
downloadmeson-675bb2f340e581c3b092d082a43b22ce3bae0da8.zip
meson-675bb2f340e581c3b092d082a43b22ce3bae0da8.tar.gz
meson-675bb2f340e581c3b092d082a43b22ce3bae0da8.tar.bz2
mintro: fix flake8 issues
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index 5516294..0497845 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -21,7 +21,6 @@ project files and don't need this info."""
import collections
import json
-from mesonbuild.compilers import d
from . import build, coredata as cdata
from . import mesonlib
from .ast import IntrospectionInterpreter, build_target_functions, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter
@@ -123,6 +122,7 @@ def list_installed(installdata: backends.InstallData) -> T.Dict[str, str]:
def list_targets_from_source(intr: IntrospectionInterpreter) -> T.List[T.Dict[str, T.Union[bool, str, T.List[T.Union[str, T.Dict[str, T.Union[str, T.List[str], bool]]]]]]]:
tlist = [] # type: T.List[T.Dict[str, T.Union[bool, str, T.List[T.Union[str, T.Dict[str, T.Union[str, T.List[str], bool]]]]]]]
root_dir = Path(intr.source_root)
+
def nodes_to_paths(node_list: T.List[BaseNode]) -> T.List[Path]:
res = [] # type: T.List[Path]
for n in node_list: