summaryrefslogtreecommitdiffhomepage
path: root/demo_simple.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2005-09-21 22:34:39 +0000
committerRobey Pointer <robey@lag.net>2005-09-21 22:34:39 +0000
commit4862d5955bdc8275fe5c03cceffd73448b130812 (patch)
tree59c3908523f9136939c6d2982b027c44c2348410 /demo_simple.py
parent112b72511eb186175839fc0b8d66b6fc6dcdb534 (diff)
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-57]
simplify a line of debug output in demo_simple that bothered me one day
Diffstat (limited to 'demo_simple.py')
-rwxr-xr-xdemo_simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo_simple.py b/demo_simple.py
index 5c3b1b02..7eade45b 100755
--- a/demo_simple.py
+++ b/demo_simple.py
@@ -113,7 +113,7 @@ try:
t.close()
except Exception, e:
- print '*** Caught exception: ' + str(e.__class__) + ': ' + str(e)
+ print '*** Caught exception: %s: %s' % (e.__class__, e)
traceback.print_exc()
try:
t.close()