web/views/magicsearch.py
changeset 7990 a673d1d9a738
parent 7815 2a164a9cf81c
child 8505 dcd9bc1d1bca
--- a/web/views/magicsearch.py	Fri Oct 21 14:32:18 2011 +0200
+++ b/web/views/magicsearch.py	Fri Oct 21 14:32:37 2011 +0200
@@ -392,14 +392,7 @@
             unauthorized = None
             for proc in self.processors:
                 try:
-                    try:
-                        return proc.process_query(uquery)
-                    except TypeError, exc: # cw 3.5 compat
-                        warn("[3.6] %s.%s.process_query() should now accept uquery "
-                             "as unique argument, use self._cw instead of req"
-                             % (proc.__module__, proc.__class__.__name__),
-                             DeprecationWarning)
-                        return proc.process_query(uquery, self._cw)
+                    return proc.process_query(uquery)
                 # FIXME : we don't want to catch any exception type here !
                 except (RQLSyntaxError, BadRQLQuery):
                     pass