web/views/magicsearch.py
changeset 2650 18aec79ec3a3
parent 2567 961aa959f07a
child 2890 fdcb8a2bb6eb
child 3362 2a2dcfb379a0
--- a/web/views/magicsearch.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/web/views/magicsearch.py	Mon Aug 03 10:50:57 2009 +0200
@@ -348,8 +348,7 @@
         super(MagicSearchComponent, self).__init__(req, rset)
         processors = []
         self.by_name = {}
-        for processorcls in self.vreg.registry_objects('components',
-                                                       'magicsearch_processor'):
+        for processorcls in self.vreg['components']['magicsearch_processor']:
             # instantiation needed
             processor = processorcls()
             processors.append(processor)