Ticket #159 (closed defect: fixed)
Tutorial code needs update to run under CherryPy 3.1
| Reported by: | luciano@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 |
| Component: | Documentation | Version: | 0.4.4 |
| Keywords: | tutorial cherrypy | Cc: |
Description
In controller.py, function main the line:
cherrypy.engine.on_stop_engine_list.append(_save_data)
should be replaced by:
cherrypy.engine.subscribe('stop', _save_data)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
