##// END OF EJS Templates
ipy_leo: do not crash if _p has been deleted in push
Ville M. Vainio -
Show More
@@ -375,7 +375,7 b' def push_ipython_script(node):'
375 375 script = g.splitLines(script + '\n')
376 376 ip.user_ns['_p'] = node
377 377 ip.runlines(script)
378 del ip.user_ns['_p']
378 ip.user_ns.pop('_p',None)
379 379
380 380 has_output = False
381 381 for idx in range(hstart,len(ip.IP.input_hist)):
General Comments 0
You need to be logged in to leave comments. Login now