##// END OF EJS Templates
Fix %edit which got broken in magics refactoring....
Fernando Perez -
Show More
@@ -468,7 +468,8 b' class CodeMagics(Magics):'
468 opts,args = self.parse_options(parameter_s,'prxn:')
468 opts,args = self.parse_options(parameter_s,'prxn:')
469
469
470 try:
470 try:
471 filename, lineno, is_temp = self._find_edit_target(args, opts, last_call)
471 filename, lineno, is_temp = self._find_edit_target(self.shell,
472 args, opts, last_call)
472 except MacroToEdit as e:
473 except MacroToEdit as e:
473 self._edit_macro(args, e.args[0])
474 self._edit_macro(args, e.args[0])
474 return
475 return
General Comments 0
You need to be logged in to leave comments. Login now