web/views/magicsearch.py
branchtls-sprint
changeset 661 4f61eb8a96b7
parent 0 b97547f5f1fa
child 680 99d0b471cc0c
--- a/web/views/magicsearch.py	Tue Feb 17 14:28:14 2009 +0100
+++ b/web/views/magicsearch.py	Tue Feb 17 14:45:54 2009 +0100
@@ -15,7 +15,7 @@
 from rql.nodes import Relation
 
 from cubicweb import Unauthorized
-from cubicweb.common.appobject import Component, SingletonComponent
+from cubicweb.common.appobject import Component
 
 LOGGER = getLogger('cubicweb.magicsearch')
 
@@ -349,7 +349,7 @@
 
 
 
-class MagicSearchComponent(SingletonComponent):
+class MagicSearchComponent(Component):
     id  = 'magicsearch'
     def __init__(self, req, rset=None):
         super(MagicSearchComponent, self).__init__(req, rset)