[Python 3] Use print() as function instead of statement

Authored by sicherha on Sat, Jan 8, 11:37 AM.



print() has been a function since Python 2.6; the old behaviour was
dropped in Python 3.0.

To use the named file argument in Python 2, we need to import
print_function from the future module.

Diff Detail

rP pykolab
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sicherha requested review of this revision.Sat, Jan 8, 11:37 AM
sicherha created this revision.
Harbormaster completed remote builds in B37777: Diff 9196.
mollekopf accepted this revision.Mon, Jan 10, 9:53 AM
This revision is now accepted and ready to land.Mon, Jan 10, 9:53 AM
This revision was landed with ongoing or failed builds.Mon, Jan 10, 8:42 PM
This revision was automatically updated to reflect the committed changes.