From f043aa4cfd19404be1c172cd69eb43c84241ddb8 Mon Sep 17 00:00:00 2001
From: Atri Bhattacharya <A.Bhattacharya@uliege.be>
Date: Thu, 20 Feb 2020 00:12:08 +0100
Subject: [PATCH] Py3: use a string as the 1st argument to exec [skip ci]

---
 lib/meta.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/meta.py b/lib/meta.py
index 135798a85..fa4f1bea3 100644
--- a/lib/meta.py
+++ b/lib/meta.py
@@ -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,
