console: Wrap code to 80 columns

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-02-27 13:00:30 -05:00
parent dddfb681c7
commit e5e079faf2
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ class KeyboardReader:
out += "\nAvailable artificial commands:" out += "\nAvailable artificial commands:"
out += "\n ".join([""] + [n for n in sorted(self.local_commands)]) out += "\n ".join([""] + [n for n in sorted(self.local_commands)])
out += "\nAvailable local variables:" out += "\nAvailable local variables:"
out += "\n ".join([""] + ["%s: %s" % (k, v) lvars = sorted(self.eval_globals.items())
for k, v in sorted(self.eval_globals.items())]) out += "\n ".join([""] + ["%s: %s" % (k, v) for k, v in lvars])
self.output(out) self.output(out)
def command_HELP(self, parts): def command_HELP(self, parts):
self.output(help_txt) self.output(help_txt)