diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-19 11:00:44 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-05-19 07:18:43 -0400 |
commit | 8afdecb039c927b5ddea6533789d956dd51a7882 (patch) | |
tree | 3387de74e912ea3c4dce03c61d37e777f2f1edd7 /mesonbuild | |
parent | 087e7943d0e4210b3edb40e075189e4e40ba5f52 (diff) | |
download | meson-8afdecb039c927b5ddea6533789d956dd51a7882.zip meson-8afdecb039c927b5ddea6533789d956dd51a7882.tar.gz meson-8afdecb039c927b5ddea6533789d956dd51a7882.tar.bz2 |
Reword message in warning
"targetting" is verb-derived adjective, which sort-of-works here, but
makes the whole sentence awkward, because there's no verb. Let's just
use present simple.
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/interpreterbase/decorators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreterbase/decorators.py b/mesonbuild/interpreterbase/decorators.py index 120c579..a98e999 100644 --- a/mesonbuild/interpreterbase/decorators.py +++ b/mesonbuild/interpreterbase/decorators.py @@ -695,7 +695,7 @@ class FeatureNew(FeatureCheckBase): def log_usage_warning(self, tv: str, location: T.Optional['mparser.BaseNode']) -> None: args = [ - 'Project targeting', f"'{tv}'", + 'Project targets', f"'{tv}'", 'but uses feature introduced in', f"'{self.feature_version}':", f'{self.feature_name}.', @@ -728,7 +728,7 @@ class FeatureDeprecated(FeatureCheckBase): def log_usage_warning(self, tv: str, location: T.Optional['mparser.BaseNode']) -> None: args = [ - 'Project targeting', f"'{tv}'", + 'Project targets', f"'{tv}'", 'but uses feature deprecated since', f"'{self.feature_version}':", f'{self.feature_name}.', |