##// END OF EJS Templates
Just to be the last one to commit this night in paris ;)
ldufrechou -
Show More
@@ -56,7 +56,6 b' class _Helper(object):'
56 pydoc.help.output = DummyWriter(self._pager)
56 pydoc.help.output = DummyWriter(self._pager)
57 pydoc.help.interact = lambda :1
57 pydoc.help.interact = lambda :1
58
58
59 #helper.output.write = self.doc.append
60 return pydoc.help(*args, **kwds)
59 return pydoc.help(*args, **kwds)
61
60
62
61
@@ -153,9 +152,12 b' class NonBlockingIPShell(object):'
153 ip = IPython.ipapi.get()
152 ip = IPython.ipapi.get()
154 ip.expose_magic('Exit', self._setDoExit)
153 ip.expose_magic('Exit', self._setDoExit)
155 ip.expose_magic('Quit', self._setDoExit)
154 ip.expose_magic('Quit', self._setDoExit)
156
155 #we replace the help command
156 self._IP.user_ns['help'] = _Helper(self._pager_help)
157
157 sys.excepthook = excepthook
158 sys.excepthook = excepthook
158
159
160 #vars used by _execute
159 self._iter_more = 0
161 self._iter_more = 0
160 self._history_level = 0
162 self._history_level = 0
161 self._complete_sep = re.compile('[\s\{\}\[\]\(\)]')
163 self._complete_sep = re.compile('[\s\{\}\[\]\(\)]')
@@ -171,9 +173,6 b' class NonBlockingIPShell(object):'
171 self._ask_exit = False
173 self._ask_exit = False
172 self._add_button = None
174 self._add_button = None
173
175
174 #we replace the help command
175 self._IP.user_ns['help'] = _Helper(self._pager_help)
176
177 #----------------------- Thread management section ----------------------
176 #----------------------- Thread management section ----------------------
178 def doExecute(self,line):
177 def doExecute(self,line):
179 """
178 """
General Comments 0
You need to be logged in to leave comments. Login now