Skip to content

Commit 92aa623

Browse files
committed
Fix Python 3 error in build_distrib.py script (cztomczak#546).
1 parent d6deaf8 commit 92aa623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/build_distrib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def uninstall_cefpython3_packages(pythons):
379379
.format(python=python["executable"]))
380380
try:
381381
output = subprocess.check_output(command, shell=True)
382-
except subprocess.CalledProcessError, exc:
382+
except subprocess.CalledProcessError as exc:
383383
# pip show returns error code when package is not installed
384384
output = exc.output
385385
if not len(output.strip()):

0 commit comments

Comments
 (0)