#226 print statement -> print function
Merged by mikem. Opened by tkopecek.
tkopecek/koji py2_py3_compatible  into  master

Download 226.patch

Convert print statements to print function in a way compatible with 2.4 and 3.x syntax. It should ease later conversion to py3 and maintaining https://pagure.io/koji/pull-request/152

Changes are basically these:
* print "xxx" -> print("xxx")
* print "xxx", -> sys.stdout.write("xxx ")
* print >> sys.stderr, "xxx" -> sys.stderr.write("xxx\n")
* updated docs

rebased

Commit cd42fbb5 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

Metadata