pungi-koji: use logger instead of print when it's available

This commit is contained in:
Lubos Kocman 2015-06-07 18:11:32 +00:00
parent e3e60c75a2
commit 7d714e49f3

View File

@ -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")