From 6f62c8a6dd4d39fe271756dd54a0502cb99a2685 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 20 Oct 2013 17:13:53 +0200 Subject: [PATCH] many cleanups in lish --- linspector/frontends/lish.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/linspector/frontends/lish.py b/linspector/frontends/lish.py index 94d9d2d..c1e848f 100644 --- a/linspector/frontends/lish.py +++ b/linspector/frontends/lish.py @@ -42,10 +42,8 @@ END = "\033[0m" class LishFrontend(Frontend): def __init__(self, linpsectorInterface): super(LishFrontend, self) - #print(kwargs) - #self.jobs = kwargs["jobs"] - commander = LishCommander(linpsectorInterface) + run = True while run: try: @@ -87,7 +85,7 @@ class Exit(CommandBase, object): return self.can_exit() def help_exit(self): - print("exits linspector") + print("Exits Linspector") class Command(object): @@ -109,11 +107,9 @@ class CommandTree(object): class LishCommander(Exit): def __init__(self, linspectorInterface): - super(LishCommander, self).__init__() self.prompt = BLUE + ": " + END - self.interface = linspectorInterface def do_python(self, text):