web/views/magicsearch.py
brancholdstable
changeset 8462 a14b6562082b
parent 7990 a673d1d9a738
child 8505 dcd9bc1d1bca
--- a/web/views/magicsearch.py	Tue Feb 14 15:14:22 2012 +0100
+++ b/web/views/magicsearch.py	Tue Jul 10 15:07:23 2012 +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