pungi-koji: use logger instead of print when it's available
This commit is contained in:
parent
e3e60c75a2
commit
7d714e49f3
@ -315,7 +315,7 @@ def run_compose(compose):
|
||||
try:
|
||||
os.symlink(compose_dir, symlink)
|
||||
except Exception as ex:
|
||||
print("ERROR: couldn't create latest symlink: %s" % ex)
|
||||
compose.log_error("Couldn't create latest symlink: %s" % ex)
|
||||
|
||||
compose.log_info("Compose finished: %s" % compose.topdir)
|
||||
compose.write_status("FINISHED")
|
||||
|
Loading…
Reference in New Issue
Block a user