mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
makebuildserver: buildserverid should always be a string
This commit is contained in:
parent
c1ac6f4e88
commit
8f99400064
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue