From ca6b203a0902a9d3ed1a0a7b73abac231fd9a978 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 22 Feb 2019 10:28:10 -0500 Subject: [PATCH] Format console message The message wrapping was very hard to read on a default 80 wide terminal. --- confluent_server/confluent/consoleserver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/confluent_server/confluent/consoleserver.py b/confluent_server/confluent/consoleserver.py index a570fa6c..3baba74d 100644 --- a/confluent_server/confluent/consoleserver.py +++ b/confluent_server/confluent/consoleserver.py @@ -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