small cleanups and a beautiful new whitespace in output... ;)

This commit is contained in:
Johannes Findeisen 2013-08-14 21:57:58 +02:00
commit bee99d74d1

View file

@ -1,8 +1,6 @@
from os.path import isfile
from os.path import join
from os import getcwd
import json
import sys
import imp
from layouts import Layout
from hostgroups import HostGroup
@ -13,7 +11,6 @@ from lib.services.service import Service
from lib.processors.processor import Processor
from lib.parsers.parser import Parser
from lib.tasks.task import Task
from argparse import Namespace
MOD_SERVICES = "services"
MOD_PROCESSORS = "processors"
@ -238,8 +235,6 @@ class FullConfigParser(ConfigParser):
class_check = lambda parser: isinstance(parser, Parser)
self.replace_with_import(services, MOD_PARSERS, items_func, class_check)
#replace object pointer
id_list_func = lambda hostgroup: hostgroup.get_members()
id_get_func = lambda member: member.get_id()