Skip to content

Commit

Permalink
fix some spelling typos found in kfigure.py
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
return42 committed Jan 11, 2018
1 parent 726af7a commit 41d228f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linuxdoc/kfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
# -------------

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

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

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

Expand Down

0 comments on commit 41d228f

Please sign in to comment.