diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-08-04 19:26:42 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-06 14:44:31 -0700 |
| commit | c6814b7cd54907128a4fb65159ed054b683157db (patch) | |
| tree | 13aeaa8ca7ce57bcf60c241bdfc4f2774c27d8bc /mesonbuild/options.py | |
| parent | 23828ced6810955e108aadd4ceb5fbf9c5965421 (diff) | |
| download | meson-c6814b7cd54907128a4fb65159ed054b683157db.tar.gz | |
options: replace get_value with get_value_for
The two methods are identical.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/options.py')
| -rw-r--r-- | mesonbuild/options.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py index 54e7e4664..4d5bb5804 100644 --- a/mesonbuild/options.py +++ b/mesonbuild/options.py @@ -845,9 +845,6 @@ class OptionStore: return self.options[key].value return self.pending_options.get(key, default) - def get_value(self, key: T.Union[OptionKey, str]) -> ElementaryOptionValues: - return self.get_value_for(key) - def __len__(self) -> int: return len(self.options) |
