Skip to content

Commit 41d228f

Browse files
committed
fix some spelling typos found in kfigure.py
The origin comes from Masanari Iida [1] patching the Linux tree. [1] https://www.mail-archive.com/linux-doc@vger.kernel.org/msg17614.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 parent 726af7a commit 41d228f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

linuxdoc/kfigure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
# -------------
8282

8383
def which(cmd):
84-
"""Searches the ``cmd`` in the ``PATH`` enviroment.
84+
"""Searches the ``cmd`` in the ``PATH`` environment.
8585
8686
This *which* searches the PATH for executable ``cmd`` . First match is
8787
returned, if nothing is found, ``None`` is returned.
@@ -419,7 +419,7 @@ def visit_kernel_render(self, node):
419419

420420
tmp_ext = RENDER_MARKUP_EXT.get(srclang, None)
421421
if tmp_ext is None:
422-
app.warn('kernel-render: "%s" unknow / include raw.' % (srclang))
422+
app.warn('kernel-render: "%s" unknown / include raw.' % (srclang))
423423
return
424424

425425
if not dot_cmd and tmp_ext == '.dot':
@@ -482,7 +482,7 @@ def build_node(self):
482482
srclang = self.arguments[0].strip()
483483
if srclang not in RENDER_MARKUP_EXT.keys():
484484
return [self.state_machine.reporter.warning(
485-
'Unknow source language "%s", use one of: %s.' % (
485+
'Unknown source language "%s", use one of: %s.' % (
486486
srclang, ",".join(RENDER_MARKUP_EXT.keys())),
487487
line=self.lineno)]
488488

0 commit comments

Comments
 (0)