web/form.py
changeset 5223 6abd6e3599f4
parent 4779 dce36da37d40
child 5358 d4d294610ee7
--- a/web/form.py	Mon Apr 12 14:41:01 2010 +0200
+++ b/web/form.py	Tue Apr 13 12:19:24 2010 +0200
@@ -191,7 +191,7 @@
             warn('[3.6.1] restore_previous_post already called, remove this call',
                  DeprecationWarning, stacklevel=2)
             return
-        forminfo = self._cw.get_session_data(sessionkey, pop=True)
+        forminfo = self._cw.session.data.pop(sessionkey, None)
         if forminfo:
             self._form_previous_values = forminfo['values']
             self._form_valerror = forminfo['error']