Skip to content

Commit 194f50c

Browse files
committed
tools: Decode command output properly.
1 parent b4628ec commit 194f50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/get_pfasst_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from os.path import dirname, abspath, join
1010

1111
# get git version
12-
version = str(subprocess.check_output(['git', 'describe', '--dirty'])).strip()
12+
version = subprocess.check_output(['git', 'describe', '--dirty']).decode().strip()
1313

1414
# read in site_config.hpp
1515
base = dirname(dirname(abspath(__file__)))

0 commit comments

Comments
 (0)