added job handling...
This commit is contained in:
parent
90d59778a6
commit
e80e50a3db
4 changed files with 44 additions and 56 deletions
|
|
@ -15,8 +15,7 @@ class Service(object):
|
|||
self.add_arguments(kwargs[KEY_ARGS])
|
||||
elif self.needs_arguments():
|
||||
raise Exception("Error: needs arguments but none provided!")
|
||||
|
||||
self._host = None
|
||||
|
||||
|
||||
self._parser = []
|
||||
if KEY_PARSER in kwargs:
|
||||
|
|
@ -86,12 +85,6 @@ class Service(object):
|
|||
def get_comment(self):
|
||||
return self._comment
|
||||
|
||||
def set_host(self, host):
|
||||
self._host = host
|
||||
|
||||
def get_host(self):
|
||||
return self._host
|
||||
|
||||
def get_parser(self):
|
||||
return self._parser
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue