From 53875831df93d18c31aa2410e33370545d5bb680 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Feb 28 2017 16:06:09 +0000 Subject: a couple more prints --- diff --git a/cli/koji b/cli/koji index 2cd5e67..78242fd 100755 --- a/cli/koji +++ b/cli/koji @@ -3292,7 +3292,7 @@ def anon_handle_rpminfo(options, session, args): print("SRPM Path: %s" % os.path.join(koji.pathinfo.build(buildinfo), koji.pathinfo.rpm(buildinfo))) print("Built: %s" % time.strftime('%a, %d %b %Y %H:%M:%S %Z', time.localtime(info['buildtime']))) print("SIGMD5: %(payloadhash)s" % info) - print "Size: %(size)s" % info + print("Size: %(size)s" % info) if not info.get('external_repo_id', 0): print("Build ID: %(build_id)s" % info) if info['buildroot_id'] is None: diff --git a/util/koji-gc b/util/koji-gc index 5b5d881..23d14d3 100755 --- a/util/koji-gc +++ b/util/koji-gc @@ -424,7 +424,7 @@ refer to the document linked above for instructions.""" s.sendmail(msg['From'], msg['To'], msg.as_string()) s.quit() except: - print "FAILED: Sending warning notice to %s" % msg['To'] + print("FAILED: Sending warning notice to %s" % msg['To']) def main(args):