From 7d714e49f311475d9bd338d963631d83d60a2550 Mon Sep 17 00:00:00 2001 From: Lubos Kocman Date: Sun, 7 Jun 2015 18:11:32 +0000 Subject: [PATCH] pungi-koji: use logger instead of print when it's available --- bin/pungi-koji | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pungi-koji b/bin/pungi-koji index eb69a496..cc1426e7 100755 --- a/bin/pungi-koji +++ b/bin/pungi-koji @@ -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")