From 4862d5955bdc8275fe5c03cceffd73448b130812 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Wed, 21 Sep 2005 22:34:39 +0000 Subject: [PATCH] [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 --- demo_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo_simple.py b/demo_simple.py index 5c3b1b0..7eade45 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()