GitHub user cwelton opened a pull request:
https://github.com/apache/incubator-quickstep/pull/75
QUICKSTEP-38. Add support for python3 to utility scripts
Three core changes:
- update from python2 print command, to python3 print function [1]
- switch from xrange to range [1]
- switch from dict.iteritems to iter(dict.items()) [2]
[1] http://python-future.org/compatible_idioms.html
[2] http://legacy.python.org/dev/peps/pep-0469/
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cwelton/incubator-quickstep master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/75.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #75
----
commit 1c48650e21f7fa0fb7c0dda2b08512618cdc8c07
Author: Caleb Welton <[email protected]>
Date: 2016-08-02T17:44:41Z
QUICKSTEP-38. Add support for python3 to utility scripts
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---