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.
pull/10044/head
Eli Schwartz 3 years ago committed by Dylan Baker
parent 6acfe48f32
commit 2b04e8c5e5
  1. 3
      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)

Loading…
Cancel
Save