mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Fix "errror"s in docs/_ext
(cherry picked from commit 125c03f39c74fee4bf60610c74ff9b61e65a0541)
This commit is contained in:
parent
244e576b3d
commit
b73c97e995
@ -530,7 +530,7 @@ def strip_cmd(cmd, debug=False):
|
||||
if c == "]":
|
||||
appearance = appearance - 1
|
||||
|
||||
# only if all [..] will be delete if appearance > 0 there is a syntax errror
|
||||
# only if all [..] will be delete if appearance > 0 there is a syntax error
|
||||
if appearance == 0:
|
||||
cmd = cmd_new
|
||||
|
||||
@ -545,7 +545,7 @@ def strip_cmd(cmd, debug=False):
|
||||
if c == ">":
|
||||
appearance = appearance - 1
|
||||
|
||||
# only if all <..> will be delete if appearance > 0 there is a syntax errror
|
||||
# only if all <..> will be delete if appearance > 0 there is a syntax error
|
||||
if appearance == 0:
|
||||
cmd = cmd_new
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user