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): def on_open_shell(self):
if self._get_prompt().endswith(b'#'): if self._get_prompt().strip().endswith(b'#'):
self.disable_pager() self.disable_pager()
def disable_pager(self): def disable_pager(self):