##// END OF EJS Templates
protect two more magic in menu ("loadpy" and "save")
Matthias BUSSONNIER -
Show More
@@ -557,7 +557,7 b' class MainWindow(QtGui.QMainWindow):'
557
557
558 # list of protected magic that don't like to be called without argument
558 # list of protected magic that don't like to be called without argument
559 # append '?' to the end to print the docstring when called from the menu
559 # append '?' to the end to print the docstring when called from the menu
560 protected_magic= ["more","less","load_ext","pycat"]
560 protected_magic= ["more","less","load_ext","pycat","loadpy","save"]
561
561
562 for magic in eval(val):
562 for magic in eval(val):
563 if magic in protected_magic:
563 if magic in protected_magic:
General Comments 0
You need to be logged in to leave comments. Login now