Use library to track container lifetimes
This commit is contained in:
parent
544bedc6ee
commit
7929993b8f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue