it was housekeeping... call it whitespacing... whatever!
This commit is contained in:
parent
be6eafc11e
commit
67def5e01c
5 changed files with 6 additions and 8 deletions
|
|
@ -242,12 +242,12 @@ class FullConfigParser(ConfigParser):
|
|||
id_get_func = lambda member: member.get_id()
|
||||
self.replace_pointer(self.hostgroups, members, id_list_func, id_get_func)
|
||||
|
||||
id_list_func = lambda service: service.get_periods()
|
||||
id_list_func = lambda service: service.get_periods()
|
||||
id_get_func = lambda period: period.get_name()
|
||||
self.replace_pointer(services, periods, id_list_func, id_get_func)
|
||||
|
||||
id_list_func = lambda layout: layout.get_hostgroups()
|
||||
id_get_func = lambda hostgroup: hostgroup.get_name()
|
||||
id_get_func = lambda hostgroup: hostgroup.get_name()
|
||||
self.replace_pointer(layouts, self.hostgroups, id_list_func, id_get_func)
|
||||
|
||||
for hg in self.hostgroups:
|
||||
|
|
@ -257,4 +257,4 @@ class FullConfigParser(ConfigParser):
|
|||
if "core" in self.jsonDict:
|
||||
core = self.jsonDict["core"]
|
||||
|
||||
return (layouts, core)
|
||||
return layouts, core
|
||||
|
|
@ -7,7 +7,7 @@ from lib.processors.processor import Processor
|
|||
|
||||
class MariadbProcessor(Processor):
|
||||
def __init__(self, **kwargs):
|
||||
pass
|
||||
Processor.__init__(self, **kwargs)
|
||||
|
||||
|
||||
def create(kwargs):
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from lib.processors.processor import Processor
|
|||
|
||||
class MongodbProcessor(Processor):
|
||||
def __init__(self, **kwargs):
|
||||
pass
|
||||
Processor.__init__(self, **kwargs)
|
||||
|
||||
|
||||
def create(kwargs):
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from lib.processors.processor import Processor
|
|||
|
||||
class SyslogProcessor(Processor):
|
||||
def __init__(self, **kwargs):
|
||||
pass
|
||||
Processor.__init__(self, **kwargs)
|
||||
|
||||
|
||||
def create(kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue