aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/hotdoc.py
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2021-01-12 22:15:42 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-01-13 12:53:10 -0500
commit39ede12aa5b27376341df85bc9ec254913f044bd (patch)
treed079bfefe3a9010dd7d7a57dfe207d9b6532b8e8 /mesonbuild/modules/hotdoc.py
parentccb15bc0e988f4e90b67606eaad9443c7ccac918 (diff)
downloadmeson-39ede12aa5b27376341df85bc9ec254913f044bd.zip
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.gz
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.bz2
Fix misspells
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
Diffstat (limited to 'mesonbuild/modules/hotdoc.py')
-rw-r--r--mesonbuild/modules/hotdoc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/hotdoc.py b/mesonbuild/modules/hotdoc.py
index ee756e7..931db12 100644
--- a/mesonbuild/modules/hotdoc.py
+++ b/mesonbuild/modules/hotdoc.py
@@ -281,7 +281,7 @@ class HotdocTargetBuilder:
return os.path.relpath(_dir, os.path.join(self.builddir, self.subdir))
- def check_forbiden_args(self):
+ def check_forbidden_args(self):
for arg in ['conf_file']:
if arg in self.kwargs:
raise InvalidArguments('Argument "%s" is forbidden.' % arg)
@@ -290,7 +290,7 @@ class HotdocTargetBuilder:
self.include_paths[path] = path
def make_targets(self):
- self.check_forbiden_args()
+ self.check_forbidden_args()
file_types = (str, mesonlib.File)
self.process_known_arg("--index", file_types, mandatory=True, value_processor=self.ensure_file)
self.process_known_arg("--project-version", str, mandatory=True)