Switch python print statements to be python2/python3 compatible#11694
Switch python print statements to be python2/python3 compatible#11694openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
8d860c4 to
20e435d
Compare
20e435d to
3cce3bd
Compare
We use a number of `print ` statements in the repo, both in jobs and libraries. This is valid python2, but not python3. Given python2 went EOL months ago we need to catch up. This should add the header which makes python2 act like python3 in regards to print() statement and which is a noop after we switch.
3cce3bd to
787549f
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eparis, petr-muller, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@eparis: Updated the following 14 configmaps:
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
These snuck in with 787549f (Switch python print statements to be python2/python3 compatible, 2020-09-08, openshift#11694).
We use a number of
printstatements in the repo, both in jobs andlibraries. This is valid python2, but not python3. Given python2 went
EOL months ago we need to catch up.
This should add the header which makes python2 act like python3 in
regards to print() statement and which is a noop after we switch.