Skip to content

Commit 8cb4d51

Browse files
committed
Fix merge artifact
1 parent 82cf8d0 commit 8cb4d51

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
except:
5252
warnings.warn('error getting fonts from fc-list', UserWarning)
5353

54-
54+
5555
_luatex_version_re = re.compile(
5656
'This is LuaTeX, Version (?:beta-)?([0-9]+)\.([0-9]+)\.([0-9]+)'
5757
)
@@ -66,7 +66,7 @@ def get_texcommand():
6666

6767
def _get_lualatex_version():
6868
"""Get version of luatex"""
69-
output = check_output(['lualatex', '--version'])
69+
output = subprocess.check_output(['lualatex', '--version'])
7070
return _parse_lualatex_version(output.decode())
7171

7272

@@ -1157,7 +1157,9 @@ def _run_latex(self):
11571157
os.path.basename(self._fname_tex),
11581158
]
11591159
try:
1160-
check_output(cmdargs, stderr=subprocess.STDOUT, cwd=self._tmpdir)
1160+
subprocess.check_output(
1161+
cmdargs, stderr=subprocess.STDOUT, cwd=self._tmpdir
1162+
)
11611163
except subprocess.CalledProcessError as e:
11621164
raise RuntimeError(
11631165
"%s was not able to process your file.\n\nFull log:\n%s"

0 commit comments

Comments
 (0)