2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Format console message

The message wrapping was very hard to read
on a default 80 wide terminal.
This commit is contained in:
Jarrod Johnson 2019-02-22 10:28:10 -05:00
parent c478cb5d6e
commit ca6b203a09

View File

@ -310,9 +310,9 @@ class ConsoleHandler(object):
def clearbuffer(self):
self.feedbuffer(
'\x1bc[No data has been received from the remote console since ' \
'connecting. This could be due to having the console.logging ' \
'attribute set to none or interactive, serial console not ' \
'being enabled or incorrectly configured in the OS or firmware, ' \
'connecting. This could\r\nbe due to having the console.logging ' \
'attribute set to none or interactive,\r\nserial console not ' \
'being enabled or incorrectly configured in the OS or\r\nfirmware, ' \
'or the console simply not having any output since last connection]')
self.clearpending = True