summaryrefslogtreecommitdiffstats
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 04541c72ad..9e881773c9 100644
--- a/methods.py
+++ b/methods.py
@@ -828,7 +828,7 @@ def get_compiler_version(env):
sem_ver = split[1].split(".")
ret["major"] = int(sem_ver[0])
ret["minor"] = int(sem_ver[1])
- ret["patch"] = int(sem_ver[2])
+ ret["patch"] = int(sem_ver[2].split()[0])
# Could potentially add section for determining preview version, but
# that can wait until metadata is actually used for something.
if split[0] == "catalog_buildVersion":