mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-18 04:35:11 +00:00
linux-next: docs-rst: Fix typos in kfigure.py
This patch fixes some spelling typos found in kfigure.py Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
5d87a33782
commit
ae17a87dd7
1 changed files with 3 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ __version__ = '1.0.0'
|
||||||
# -------------
|
# -------------
|
||||||
|
|
||||||
def which(cmd):
|
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
|
This *which* searches the PATH for executable ``cmd`` . First match is
|
||||||
returned, if nothing is found, ``None` is returned.
|
returned, if nothing is found, ``None` is returned.
|
||||||
|
|
@ -419,7 +419,7 @@ def visit_kernel_render(self, node):
|
||||||
|
|
||||||
tmp_ext = RENDER_MARKUP_EXT.get(srclang, None)
|
tmp_ext = RENDER_MARKUP_EXT.get(srclang, None)
|
||||||
if tmp_ext is 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
|
return
|
||||||
|
|
||||||
if not dot_cmd and tmp_ext == '.dot':
|
if not dot_cmd and tmp_ext == '.dot':
|
||||||
|
|
@ -482,7 +482,7 @@ class KernelRender(Figure):
|
||||||
srclang = self.arguments[0].strip()
|
srclang = self.arguments[0].strip()
|
||||||
if srclang not in RENDER_MARKUP_EXT.keys():
|
if srclang not in RENDER_MARKUP_EXT.keys():
|
||||||
return [self.state_machine.reporter.warning(
|
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())),
|
srclang, ",".join(RENDER_MARKUP_EXT.keys())),
|
||||||
line=self.lineno)]
|
line=self.lineno)]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue