diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-21 21:30:10 -0500 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-03-01 12:13:24 -0800 |
commit | 2b04e8c5e5c9e65a50b379ed8101139885c44a89 (patch) | |
tree | bfd9cee3fd58e115acd587b5a2fe221f78fba4e0 | |
parent | 6acfe48f32110671a0adf80ad3497a35105b265d (diff) | |
download | meson-2b04e8c5e5c9e65a50b379ed8101139885c44a89.zip meson-2b04e8c5e5c9e65a50b379ed8101139885c44a89.tar.gz meson-2b04e8c5e5c9e65a50b379ed8101139885c44a89.tar.bz2 |
remove useless kwarg that was never used
I am not sure why it ever got added. It looks superficially similar to
FeatureCheck itself, but doesn't need to.
-rw-r--r-- | mesonbuild/interpreterbase/decorators.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py index f104ac6..940402c 100644 --- a/mesonbuild/interpreterbase/decorators.py +++ b/mesonbuild/interpreterbase/decorators.py @@ -749,12 +749,11 @@ class FeatureCheckKwargsBase(metaclass=abc.ABCMeta): pass def __init__(self, feature_name: str, feature_version: str, - kwargs: T.List[str], extra_message: T.Optional[str] = None, location: T.Optional['mparser.BaseNode'] = None): + kwargs: T.List[str], extra_message: T.Optional[str] = None): self.feature_name = feature_name self.feature_version = feature_version self.kwargs = kwargs self.extra_message = extra_message - self.location = location def __call__(self, f: TV_func) -> TV_func: @wraps(f) |