From f037e7ef4538b37625c0893d32cad36e72648c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Wed, 6 Nov 2019 14:49:00 +0100 Subject: Fix typos found by codespell - Typos were found by codespell v1.16.0 --- mesonbuild/ast/interpreter.py | 2 +- mesonbuild/ast/introspection.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/ast') diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py index 4d810fc..847f817 100644 --- a/mesonbuild/ast/interpreter.py +++ b/mesonbuild/ast/interpreter.py @@ -289,7 +289,7 @@ class AstInterpreter(interpreterbase.InterpreterBase): l = quick_resolve(node.left) r = quick_resolve(node.right) if isinstance(l, str) and isinstance(r, str): - result = l + r # String concatination detected + result = l + r # String concatenation detected else: result = self.flatten_args(l, include_unknown_args, id_loop_detect) + self.flatten_args(r, include_unknown_args, id_loop_detect) diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index aeb0400..eb9517c 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -35,7 +35,7 @@ class IntrospectionHelper: class IntrospectionInterpreter(AstInterpreter): # Interpreter to detect the options without a build directory - # Most of the code is stolen from interperter.Interpreter + # Most of the code is stolen from interpreter.Interpreter def __init__(self, source_root, subdir, backend, visitors=None, cross_file=None, subproject='', subproject_dir='subprojects', env=None): visitors = visitors if visitors is not None else [] super().__init__(source_root, subdir, visitors=visitors) @@ -161,7 +161,7 @@ class IntrospectionInterpreter(AstInterpreter): name = args[0] srcqueue = [node] - # Process the soruces BEFORE flattening the kwargs, to preserve the original nodes + # Process the sources BEFORE flattening the kwargs, to preserve the original nodes if 'sources' in kwargs: srcqueue += mesonlib.listify(kwargs['sources']) -- cgit v1.1