import compute
import cherrypy

cherrypy.request.hooks.attach('before_finalize', _sessions.save)
cherrypy.request.hooks.attach('on_end_request', self._sessions.close)
import compute
import cherrypy

cherrypy.request.hooks.attach('before_finalize', _sessions.save)
cherrypy.request.hooks.attach('on_end_request', self._sessions.close)