Changes between Version 108 and Version 109 of GenshiTutorial
- Timestamp:
- Feb 19, 2008, 1:27:26 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiTutorial
v108 v109 262 262 finally: 263 263 fileobj.close() 264 cherrypy.engine.on_stop_engine_list.append(_save_data) 264 if hasattr(cherrypy.engine, 'subscribe'): # CherryPy >= 3.1 265 cherrypy.engine.subscribe('stop', _save_data) 266 else: 267 cherrypy.engine.on_stop_engine_list.append(_save_data) 265 268 266 269 }}}