Skip to content

Commit 0cdc221

Browse files
Use the py2+py3 compatible replacement for execfile(...)
1 parent 78c3770 commit 0cdc221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Driver/Dependencies/Inputs/update-dependencies-bad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
sys.exit(129)
4646

4747
execDir = os.path.dirname(os.path.abspath(__file__))
48-
execfile(os.path.join(execDir, "update-dependencies.py"))
48+
exec(open(os.path.join(execDir, "update-dependencies.py")).read())

0 commit comments

Comments
 (0)