1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix junos prompt issue (#22536)

Need to handle junos shell prompt
that end's with '%'
This commit is contained in:
Ganesh Nalawade 2017-03-13 17:41:38 +05:30 committed by Peter Sprygada
parent 39c38bf30d
commit 8b6d786cff

View file

@ -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 = [