summaryrefslogtreecommitdiffstats
path: root/Lib/hotshot
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/hotshot')
-rw-r--r--Lib/hotshot/stones.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hotshot/stones.py b/Lib/hotshot/stones.py
index cd4c51d..7f88606 100644
--- a/Lib/hotshot/stones.py
+++ b/Lib/hotshot/stones.py
@@ -19,7 +19,7 @@ def main(logfile):
stats.sort_stats('time', 'calls')
try:
stats.print_stats(20)
- except IOError, e:
+ except IOError as e:
if e.errno != errno.EPIPE:
raise