File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 81
81
# -------------
82
82
83
83
def which (cmd ):
84
- """Searches the ``cmd`` in the ``PATH`` enviroment .
84
+ """Searches the ``cmd`` in the ``PATH`` environment .
85
85
86
86
This *which* searches the PATH for executable ``cmd`` . First match is
87
87
returned, if nothing is found, ``None`` is returned.
@@ -419,7 +419,7 @@ def visit_kernel_render(self, node):
419
419
420
420
tmp_ext = RENDER_MARKUP_EXT .get (srclang , None )
421
421
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 ))
423
423
return
424
424
425
425
if not dot_cmd and tmp_ext == '.dot' :
@@ -482,7 +482,7 @@ def build_node(self):
482
482
srclang = self .arguments [0 ].strip ()
483
483
if srclang not in RENDER_MARKUP_EXT .keys ():
484
484
return [self .state_machine .reporter .warning (
485
- 'Unknow source language "%s", use one of: %s.' % (
485
+ 'Unknown source language "%s", use one of: %s.' % (
486
486
srclang , "," .join (RENDER_MARKUP_EXT .keys ())),
487
487
line = self .lineno )]
488
488
You can’t perform that action at this time.
0 commit comments