Fix junos prompt issue (#22536)
Need to handle junos shell prompt that end's with '%'
This commit is contained in:
parent
39c38bf30d
commit
8b6d786cff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ except ImportError:
|
||||||
class TerminalModule(TerminalBase):
|
class TerminalModule(TerminalBase):
|
||||||
|
|
||||||
terminal_stdout_re = [
|
terminal_stdout_re = [
|
||||||
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"),
|
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$|%"),
|
||||||
]
|
]
|
||||||
|
|
||||||
terminal_stderr_re = [
|
terminal_stderr_re = [
|
||||||
|
|
Loading…
Reference in a new issue