Commit 641e341
committed
scripts/mod_python.in: replace use of execfile removed in Python 3 (#139)
Python 3 removed the builtin execfile so this replaces it with read,
compile, and exec (see https://stackoverflow.com/questions/436198/).
Because this works in both Python 2 and Python 3, we use this
alternative unconditionally.1 parent 9693a38 commit 641e341
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
0 commit comments