summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/telnet.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/telnet.py')
-rwxr-xr-xDemo/sockets/telnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/telnet.py b/Demo/sockets/telnet.py
index ee7c43b..d86cbeb 100755
--- a/Demo/sockets/telnet.py
+++ b/Demo/sockets/telnet.py
@@ -53,7 +53,7 @@ def main():
try:
s.connect((host, port))
except error, msg:
- sys.stderr.write('connect failed: ' + `msg` + '\n')
+ sys.stderr.write('connect failed: ' + repr(msg) + '\n')
sys.exit(1)
#
pid = posix.fork()