diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-03 23:18:10 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-06 14:44:31 -0700 |
| commit | 86e3d47230a8b9be6f09176e08641960eed1fb45 (patch) | |
| tree | 5183a67e95f69617becedaf39d8edcfa33454db3 | |
| parent | d2ffce63988f228d0bf5158093759fba774593e4 (diff) | |
| download | meson-86e3d47230a8b9be6f09176e08641960eed1fb45.tar.gz | |
introspection: remove dead code
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/ast/introspection.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index 9278476b0..e610b536d 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -100,16 +100,6 @@ class IntrospectionInterpreter(AstInterpreter): return [node.value] return None - def create_options_dict(options: T.List[str], subproject: str = '') -> T.Mapping[OptionKey, str]: - result: T.MutableMapping[OptionKey, str] = {} - for o in options: - try: - (key, value) = o.split('=', 1) - except ValueError: - raise mesonlib.MesonException(f'Option {o!r} must have a value separated by equals sign.') - result[OptionKey(key)] = value - return result - proj_name = args[0] proj_vers = kwargs.get('version', 'undefined') if isinstance(proj_vers, ElementaryNode): |
