##// END OF EJS Templates
Don't install payload-pager at the module-level in zmqshell...
MinRK -
Show More
@@ -44,12 +44,6 b' from IPython.zmq.displayhook import ZMQShellDisplayHook, _encode_binary'
44 from IPython.zmq.session import extract_header
44 from IPython.zmq.session import extract_header
45 from session import Session
45 from session import Session
46
46
47 #-----------------------------------------------------------------------------
48 # Globals and side-effects
49 #-----------------------------------------------------------------------------
50
51 # Install the payload version of page.
52 install_payload_page()
53
47
54 #-----------------------------------------------------------------------------
48 #-----------------------------------------------------------------------------
55 # Functions and classes
49 # Functions and classes
@@ -126,6 +120,9 b' class ZMQInteractiveShell(InteractiveShell):'
126 # subprocesses as much as possible.
120 # subprocesses as much as possible.
127 env['PAGER'] = 'cat'
121 env['PAGER'] = 'cat'
128 env['GIT_PAGER'] = 'cat'
122 env['GIT_PAGER'] = 'cat'
123
124 # And install the payload version of page.
125 install_payload_page()
129
126
130 def auto_rewrite_input(self, cmd):
127 def auto_rewrite_input(self, cmd):
131 """Called to show the auto-rewritten input for autocall and friends.
128 """Called to show the auto-rewritten input for autocall and friends.
General Comments 0
You need to be logged in to leave comments. Login now