From e5e079faf29ee2aca056e7548b11a12d8905794b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 27 Feb 2019 13:00:30 -0500 Subject: [PATCH] console: Wrap code to 80 columns Signed-off-by: Kevin O'Connor --- klippy/console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/console.py b/klippy/console.py index 6d234f44..ee1b2331 100755 --- a/klippy/console.py +++ b/klippy/console.py @@ -144,8 +144,8 @@ class KeyboardReader: out += "\nAvailable artificial commands:" out += "\n ".join([""] + [n for n in sorted(self.local_commands)]) out += "\nAvailable local variables:" - out += "\n ".join([""] + ["%s: %s" % (k, v) - for k, v in sorted(self.eval_globals.items())]) + lvars = sorted(self.eval_globals.items()) + out += "\n ".join([""] + ["%s: %s" % (k, v) for k, v in lvars]) self.output(out) def command_HELP(self, parts): self.output(help_txt)