From 9cce7a1da367e53eacae59b28ec3483adeaf9202 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Wed, 4 Feb 2015 08:06:56 -0500 Subject: [PATCH] convert to string for py3 --- tools/setupHelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setupHelpers.py b/tools/setupHelpers.py index 22361df9..348f0d93 100644 --- a/tools/setupHelpers.py +++ b/tools/setupHelpers.py @@ -372,7 +372,7 @@ def getGitVersion(tagPrefix): #branch = getGitBranch() #gitVersion = gitVersion + "-%s-%s" % (branch, head[:10]) - gitVersion = check_output(['git', 'describe', '--tags']).strip() + gitVersion = check_output(['git', 'describe', '--tags']).strip().decode('utf-8') # any uncommitted modifications? modified = False