web/views/basecontrollers.py
branchstable
changeset 7393 7824d61f41a2
parent 7374 3c9850d929e5
child 7432 cab99ccdb774
child 7435 a2c83140794e
--- a/web/views/basecontrollers.py	Mon May 16 21:41:50 2011 +0200
+++ b/web/views/basecontrollers.py	Wed May 18 16:05:11 2011 +0200
@@ -603,8 +603,8 @@
         errors = self._cw.cnx.undo_transaction(txuuid)
         if not errors:
             self.redirect()
-        return self._cw._('some errors occurred:') + self.view('pyvalist',
-                                                               pyvalue=errors)
+        return self._cw._('some errors occurred:') + self._cw.view(
+            'pyvalist', pyvalue=errors)
 
     def redirect(self):
         req = self._cw