web/views/magicsearch.py
changeset 2890 fdcb8a2bb6eb
parent 2650 18aec79ec3a3
child 3369 7b88d12b4ee2
equal deleted inserted replaced
2889:5b42222d3b88 2890:fdcb8a2bb6eb
   343 
   343 
   344 
   344 
   345 class MagicSearchComponent(Component):
   345 class MagicSearchComponent(Component):
   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=rset)
   349         processors = []
   349         processors = []
   350         self.by_name = {}
   350         self.by_name = {}
   351         for processorcls in self.vreg['components']['magicsearch_processor']:
   351         for processorcls in self.vreg['components']['magicsearch_processor']:
   352             # instantiation needed
   352             # instantiation needed
   353             processor = processorcls()
   353             processor = processorcls()