Skip to content

Commit 4cdd4bd

Browse files
committed
Make travis pass
1 parent 4e2780c commit 4cdd4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def __init__(self):
317317
stdin=subprocess.PIPE,
318318
stdout=subprocess.PIPE,
319319
cwd=self.tmpdir)
320-
except OSError, e:
320+
except OSError as e:
321321
if e.errno == errno.ENOENT:
322322
raise OSError(errno.ENOENT, "Latex command not found. "
323323
"Install '%s' or change pgf.texsystem to the desired command."

0 commit comments

Comments
 (0)