Fix for python 3.6

This commit is contained in:
Ludwig Nussel 2019-09-04 10:42:13 +02:00
parent 79a13dddfe
commit e06f41a40f

View File

@ -9,7 +9,7 @@ def describe(directory=None):
ret = subprocess.run( ret = subprocess.run(
['git', 'show', '--no-patch', '--date=short', '--format=%cd.%h'], ['git', 'show', '--no-patch', '--date=short', '--format=%cd.%h'],
capture_output=True, text=True) stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=True)
if directory: if directory:
os.chdir(cwd) os.chdir(cwd)