cleanups and small fix

This commit is contained in:
Johannes Findeisen 2013-10-18 12:15:11 +02:00
commit cb676249ac
2 changed files with 2 additions and 7 deletions

View file

@ -127,8 +127,6 @@ class HostgroupCommander(Exit, object):
print("gives you control over a member of the hostgroup")
class LishCommander(Exit, ShellCommander, LogCommander):
def __init__(self, linspectorInterface):
@ -138,8 +136,6 @@ class LishCommander(Exit, ShellCommander, LogCommander):
self.interface = linspectorInterface
def do_hostgroup(self, text):
args = shsplit(text)
@ -189,8 +185,6 @@ class LishCommander(Exit, ShellCommander, LogCommander):
"Service: " + job.service.get_type() + "\n" + \
"Members: " + str([member.name for member in job.members])
def do_job(self, text):
text = shsplit(text)
job_hex = text[0]