Edgewall Software

Ticket #159 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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)

See:  http://www.cherrypy.org/wiki/UpgradeTo31

Attachments

Change History

Changed 4 years ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Fixed in [780].

Add/Change #159 (Tutorial code needs update to run under CherryPy 3.1)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.