a couple more prints

This commit is contained in:
Mike McLean 2017-02-28 11:06:09 -05:00
parent c143d0b88f
commit 53875831df
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

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