From 619aabacb98902cfa528f732436da5d3b1085598 2014-03-05 18:35:36 From: Thomas Kluyver Date: 2014-03-05 18:35:36 Subject: [PATCH] Use new events system for post_execute callback --- diff --git a/IPython/extensions/autoreload.py b/IPython/extensions/autoreload.py index 54ed495..0b65758 100644 --- a/IPython/extensions/autoreload.py +++ b/IPython/extensions/autoreload.py @@ -533,4 +533,4 @@ def load_ipython_extension(ip): auto_reload = AutoreloadMagics(ip) ip.register_magics(auto_reload) ip.events.register('pre_run_cell', auto_reload.pre_run_cell) - ip.register_post_execute(auto_reload.post_execute_hook) + ip.events.register('post_execute', auto_reload.post_execute_hook)