mbs-build: print koji tag if present

This commit is contained in:
Nils Philippsen
2017-05-17 11:47:58 +02:00
parent 4593ee5d95
commit 244f9960a6

View File

@@ -113,6 +113,8 @@ def watch_build(server, build_id):
'the "{state_name}" state')
if data['state_reason']:
template += ' (reason: {state_reason})'
if data.get('koji_tag'):
template += ' (koji tag: "{koji_tag}")'
print(template.format(**data))
time.sleep(30)