Use Python 3 print function

This is updated in all files for consistency, even the modules that will
never be ported to Py 3 completely due to dependency on Yum.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-08-23 09:39:17 +02:00
parent c14c28a157
commit ec39514fba
6 changed files with 35 additions and 24 deletions

View file

@ -20,6 +20,8 @@
# Author: David Cantrell <dcantrell@redhat.com>
# Author: Brian C. Lane <bcl@redhat.com>
from __future__ import print_function
import subprocess
import textwrap
from argparse import ArgumentParser
@ -93,7 +95,7 @@ def main():
args = parser.parse_args()
cl = ChangeLog(args.name, args.version)
print cl.formatLog()
print(cl.formatLog())
if __name__ == "__main__":
main()