Use library to track container lifetimes

This commit is contained in:
Paul Fultz II 2019-08-15 20:36:25 +02:00 committed by Daniel Marjamäki
parent 544bedc6ee
commit 7929993b8f
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if response.status_code == 200:
p = subprocess.Popen('git show --format=format:%h'.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
comm = p.communicate()
stdout = comm[0]
stdout = comm[0].decode(encoding='utf-8', errors='ignore')
if stdout.find('\n') > 0:
stdout = stdout[:stdout.find('\n')]
print('\nMessage: I merged this with ' + stdout)