summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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()