Skip to content

Commit

Permalink
Py3: use a string as the 1st argument to exec [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
badshah400 authored and jplloyd committed Feb 20, 2020
1 parent 937ed67 commit de0ca9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/meta.py
Expand Up @@ -264,7 +264,7 @@ def _get_versions(gitprefix="gitexport"):
# If release information from release.sh exists, use that
relinfo = {}
with open("release_info", "rb") as relinfo_fp:
exec(relinfo_fp, relinfo)
exec(relinfo_fp.read(), relinfo)
base_version = relinfo.get(
"MYPAINT_VERSION_BASE",
base_version,
Expand Down

0 comments on commit de0ca9b

Please sign in to comment.