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

fix issue with trailing white space when logging into asa (#28073)

This commit is contained in:
Jacob McGill 2017-08-11 12:30:57 -04:00 committed by Peter Sprygada
parent aef4e3d8fa
commit 21dbde0abe

View file

@ -40,7 +40,7 @@ class TerminalModule(TerminalBase):
]
def on_open_shell(self):
if self._get_prompt().endswith(b'#'):
if self._get_prompt().strip().endswith(b'#'):
self.disable_pager()
def disable_pager(self):