--- a/app/soc/views/helper/decorators.py Fri Oct 17 02:43:39 2008 +0000
+++ b/app/soc/views/helper/decorators.py Fri Oct 17 12:52:02 2008 +0000
@@ -34,9 +34,9 @@
def view(func):
"""Decorator that insists that exceptions are handled by view."""
@wraps(func)
- def view_wrapper(request, *args, **kwds):
+ def view_wrapper(*args, **kwds):
try:
- return func(request, *args, **kwds)
+ return func(*args, **kwds)
except DeadlineExceededError:
logging.exception('DeadlineExceededError')
return http.HttpResponse('DeadlineExceededError')