* Fixes 53277

* Still fixes #53277 , now with dressed up except (PEP8 E722)
This commit is contained in:
Albert Siersema 2019-03-26 13:40:45 +01:00 committed by Nilashish Chakraborty
parent 9fa1f78126
commit 1a5732807f

View file

@ -61,6 +61,10 @@ class TerminalModule(TerminalBase):
try:
self._exec_cli_command(b'terminal width 512')
try:
self._exec_cli_command(b'terminal width 0')
except AnsibleConnectionFailure:
pass
except AnsibleConnectionFailure:
display.display('WARNING: Unable to set terminal width, command responses may be truncated')