equal
deleted
inserted
replaced
346 id = 'magicsearch' |
346 id = 'magicsearch' |
347 def __init__(self, req, rset=None): |
347 def __init__(self, req, rset=None): |
348 super(MagicSearchComponent, self).__init__(req, rset) |
348 super(MagicSearchComponent, self).__init__(req, rset) |
349 processors = [] |
349 processors = [] |
350 self.by_name = {} |
350 self.by_name = {} |
351 for processorcls in self.vreg.registry_objects('components', |
351 for processorcls in self.vreg['components']['magicsearch_processor']: |
352 'magicsearch_processor'): |
|
353 # instantiation needed |
352 # instantiation needed |
354 processor = processorcls() |
353 processor = processorcls() |
355 processors.append(processor) |
354 processors.append(processor) |
356 if processor.name is not None: |
355 if processor.name is not None: |
357 assert not processor.name in self.by_name |
356 assert not processor.name in self.by_name |