PyRmin Tool Utility
import pyrmin pyrmin.tools(self.config)
Return the child menu of plugin_name
- Workaround to cleanly release FileSessions in Cherrypy >= 3.3
> CherryPy >=3.3.0 (up to current version, 3.6) makes it impossible to > explicitly release FileSession locks, because:
> 1. FileSession.save() asserts that the session is locked; and
> 2. _cptools.SessionTool always adds a hook to call sessions.save > before the response is finalized.
> If we still want to release the session in a controller, I guess the > best way to work around this is to remove the hook before the > controller returns: