##// END OF EJS Templates
Use IPython user namespace for the global namespace...
walter.doerwald -
Show More
@@ -1046,7 +1046,8 b' class ibrowse(ipipe.Display):'
1046 1046 break
1047 1047 item = level.items[level.cury].item
1048 1048 try:
1049 if eval(self.keyboardinput, globals(), ipipe.AttrNamespace(item)):
1049 globals = ipipe.getglobals(None)
1050 if eval(self.keyboardinput, globals, ipipe.AttrNamespace(item)):
1050 1051 break
1051 1052 except (KeyboardInterrupt, SystemExit):
1052 1053 raise
@@ -1065,7 +1066,8 b' class ibrowse(ipipe.Display):'
1065 1066 level.moveto(level.curx, level.cury-1)
1066 1067 item = level.items[level.cury].item
1067 1068 try:
1068 if eval(self.keyboardinput, globals(), ipipe.AttrNamespace(item)):
1069 globals = ipipe.getglobals(None)
1070 if eval(self.keyboardinput, globals, ipipe.AttrNamespace(item)):
1069 1071 break
1070 1072 except (KeyboardInterrupt, SystemExit):
1071 1073 raise
General Comments 0
You need to be logged in to leave comments. Login now