Py3 compatible build-stack version parser

This commit is contained in:
Robin Gareus 2022-09-14 00:05:20 +02:00
parent 17b5acc38d
commit 80ef73f48b
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ def create_stored_revision():
def get_depstack_rev(depstack_root):
try:
with open(depstack_root + '/../.vers', 'r') as f:
return f.readline().decode('utf-8').strip()[:7]
return f.readline().strip()[:7]
except IOError:
return '-unknown-'