##// 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 break
1046 break
1047 item = level.items[level.cury].item
1047 item = level.items[level.cury].item
1048 try:
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 break
1051 break
1051 except (KeyboardInterrupt, SystemExit):
1052 except (KeyboardInterrupt, SystemExit):
1052 raise
1053 raise
@@ -1065,7 +1066,8 b' class ibrowse(ipipe.Display):'
1065 level.moveto(level.curx, level.cury-1)
1066 level.moveto(level.curx, level.cury-1)
1066 item = level.items[level.cury].item
1067 item = level.items[level.cury].item
1067 try:
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 break
1071 break
1070 except (KeyboardInterrupt, SystemExit):
1072 except (KeyboardInterrupt, SystemExit):
1071 raise
1073 raise
General Comments 0
You need to be logged in to leave comments. Login now