app/soc/views/models/request.py
changeset 646 860e17e5118f
parent 629 492df53e4a0f
child 651 ef6e22d463cb
--- a/app/soc/views/models/request.py	Tue Dec 02 11:20:08 2008 +0000
+++ b/app/soc/views/models/request.py	Tue Dec 02 17:14:18 2008 +0000
@@ -42,6 +42,8 @@
 import soc.logic.models.request
 import soc.logic.dicts
 import soc.views.helper
+import soc.views.helper.lists
+import soc.views.helper.responses
 import soc.views.helper.widgets
 
 
@@ -142,7 +144,7 @@
     try:
       access.checkAccess('listSelf', request, params['rights'])
     except out_of_band.Error, error:
-      return error.response(request)
+      return helper.responses.errorResponse(error, request)
 
     # get the current user
     properties = {'account': users.get_current_user()}