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

Using shorthand for disabling paging to avoid the syntax difference between versions. (#31942)

Fixes #31855
This commit is contained in:
James Mighion 2017-10-23 01:15:30 -07:00 committed by Martin Krizek
parent 529b7a7b78
commit 6693cc3f5a

View file

@ -48,6 +48,6 @@ class TerminalModule(TerminalBase):
def on_open_shell(self): def on_open_shell(self):
try: try:
self._exec_cli_command(b'no paging') self._exec_cli_command(b'no pag')
except AnsibleConnectionFailure: except AnsibleConnectionFailure:
raise AnsibleConnectionFailure('unable to set terminal parameters') raise AnsibleConnectionFailure('unable to set terminal parameters')