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:
parent
c14c28a157
commit
ec39514fba
6 changed files with 35 additions and 24 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue