Edgewall Software

Opened 17 years ago

Closed 17 years ago

#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)

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

Change History (1)

comment:1 Changed 17 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [780].

Note: See TracTickets for help on using tickets.