Also fix exception syntax

pull/20447/head
Alexander Polcyn 5 years ago
parent c6654fc02a
commit 76abd3dd03
  1. 2
      tools/profiling/microbenchmarks/bm_diff/bm_main.py

@ -109,7 +109,7 @@ def eintr_be_gone(fn):
while True:
try:
return fn(*args)
except IOError, e:
except IOError as e:
if e.errno != errno.EINTR:
raise

Loading…
Cancel
Save