removed LogCommander

This commit is contained in:
Johannes Findeisen 2013-10-20 17:10:49 +02:00
commit 19f4f6f6f5

View file

@ -90,14 +90,6 @@ class Exit(CommandBase, object):
print("exits linspector")
class LogCommander(Cmd, object):
def do_log(self, text):
print("executed %s" % text)
def help_log(self):
print("manage logging")
class Command(object):
def __init__(self, name, command, helpText, children=None):
self.name = name
@ -115,7 +107,7 @@ class CommandTree(object):
self.name = name
class LishCommander(Exit, LogCommander):
class LishCommander(Exit):
def __init__(self, linspectorInterface):
super(LishCommander, self).__init__()
@ -208,6 +200,12 @@ class LishCommander(Exit, LogCommander):
except:
pass
def do_log(self, text):
print("executed %s" % text)
def help_log(self):
print("manage logging")
def do_about(self, text):
self.print_color(GREEN, "Linspector Monitoring\n")
self.print_color(YELLOW, "Developers:")