Fix junos prompt issue (#22536)

Need to handle junos shell prompt
that end's with '%'
pull/22564/head
Ganesh Nalawade 9 years ago committed by Peter Sprygada
parent 39c38bf30d
commit 8b6d786cff

@ -35,7 +35,7 @@ except ImportError:
class TerminalModule(TerminalBase):
terminal_stdout_re = [
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"),
re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$|%"),
]
terminal_stderr_re = [

Loading…
Cancel
Save