1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

makebuildserver: buildserverid should always be a string

This commit is contained in:
Hans-Christoph Steiner 2016-03-14 17:33:06 +01:00
parent c1ac6f4e88
commit 8f99400064

View File

@ -456,7 +456,8 @@ if returncode != 0:
sys.exit(1)
print("Writing buildserver ID")
p = subprocess.Popen(['git', 'rev-parse', 'HEAD'], stdout=subprocess.PIPE)
p = subprocess.Popen(['git', 'rev-parse', 'HEAD'], stdout=subprocess.PIPE,
universal_newlines=True)
buildserverid = p.communicate()[0].strip()
print("...ID is " + buildserverid)
subprocess.call(