Commit 416c8faf authored by Ken Manheimer's avatar Ken Manheimer

Added back a print so the client user sees the result of their commands.

Changed all tabs to spaces.
parent 0516b906
......@@ -5,7 +5,7 @@
# python REPL channel.
#
RCS_ID = '$Id: monitor.py,v 1.3 1999/07/20 16:53:50 amos Exp $'
RCS_ID = '$Id: monitor.py,v 1.4 1999/07/21 16:50:57 klm Exp $'
import md5
import socket
......@@ -94,6 +94,7 @@ class monitor_channel (asynchat.async_chat):
method = 'eval'
if result is not None:
self.log_info(repr(result))
print repr(result)
self.local_env['_'] = result
except SyntaxError:
try:
......
......@@ -5,7 +5,7 @@
# python REPL channel.
#
RCS_ID = '$Id: monitor.py,v 1.3 1999/07/20 16:53:50 amos Exp $'
RCS_ID = '$Id: monitor.py,v 1.4 1999/07/21 16:50:57 klm Exp $'
import md5
import socket
......@@ -94,6 +94,7 @@ class monitor_channel (asynchat.async_chat):
method = 'eval'
if result is not None:
self.log_info(repr(result))
print repr(result)
self.local_env['_'] = result
except SyntaxError:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment