From 39a5c8341e35bb85bf23a3f960c41e5e24e7b395 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: May 01 2020 19:08:23 +0000 Subject: koji-compare-tags: use print() method for py3 Use print() to be compatible with Python 3. --- diff --git a/src/bin/koji-compare-tags b/src/bin/koji-compare-tags index 882c638..9d4f77a 100755 --- a/src/bin/koji-compare-tags +++ b/src/bin/koji-compare-tags @@ -27,7 +27,7 @@ class CompareTags(object): """ if not self.quiet: - print "Diff between tags: %s and %s" % (tags[0], tags[1]) + print("Diff between tags: %s and %s" % (tags[0], tags[1])) builds_by_tag = {} for tag in tags: @@ -51,7 +51,7 @@ class CompareTags(object): prefix = " " if not (just_diff and prefix == " "): - print "%s %s" % (prefix, i) + print("%s %s" % (prefix, i)) def main(argv):