From 79a8f5edcf918ef69413d1edba690d581fe7c2b1 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Wed, 14 Aug 2013 22:50:47 +0200 Subject: [PATCH] deleted old config.py object... no need for that anymore. --- lib/config/config.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 lib/config/config.py diff --git a/lib/config/config.py b/lib/config/config.py deleted file mode 100644 index 4ce130e..0000000 --- a/lib/config/config.py +++ /dev/null @@ -1,26 +0,0 @@ -import json -from tasks import parseTaskList -from members import parseMemberList - -#from hostgroups import parseHostGroupList -#from layouts import parseLayoutList - - -class Config: - def __init__(self, configFile, log): - self.configfile = configFile - f = open(configFile) - self.config = f.read() - f.close() - - self.dict = json.loads(self.config) - - self.tasks = parseTaskList(self.dict['tasks']) - self.members = parseMemberList(self.dict['members'], self.tasks, log) - #self.periods = parsePeriodList(self.dict['periods'], log) - #self.hostgroups = parseHostGroupList(self.dict['hostgroups'], - # self.members, - # self.periods, - # log) - - #self.layouts = LayoutList(self.dict['layouts'], self.hostgroups) \ No newline at end of file