equal
deleted
inserted
replaced
390 except Exception: |
390 except Exception: |
391 # use processor chain |
391 # use processor chain |
392 unauthorized = None |
392 unauthorized = None |
393 for proc in self.processors: |
393 for proc in self.processors: |
394 try: |
394 try: |
395 try: |
395 return proc.process_query(uquery) |
396 return proc.process_query(uquery) |
|
397 except TypeError, exc: # cw 3.5 compat |
|
398 warn("[3.6] %s.%s.process_query() should now accept uquery " |
|
399 "as unique argument, use self._cw instead of req" |
|
400 % (proc.__module__, proc.__class__.__name__), |
|
401 DeprecationWarning) |
|
402 return proc.process_query(uquery, self._cw) |
|
403 # FIXME : we don't want to catch any exception type here ! |
396 # FIXME : we don't want to catch any exception type here ! |
404 except (RQLSyntaxError, BadRQLQuery): |
397 except (RQLSyntaxError, BadRQLQuery): |
405 pass |
398 pass |
406 except Unauthorized, ex: |
399 except Unauthorized, ex: |
407 unauthorized = ex |
400 unauthorized = ex |