mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-12-13 09:02:02 +01:00
Fix "errror"s in docs/_ext
This commit is contained in:
parent
3b7d066770
commit
125c03f39c
@ -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