tools: make getnodeversion.py python3-compatible
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
When the system's python
is Python 3, this script which is used during make lint
failed with a syntax error. This adds print
braces so it is compatible with both Python 2 and 3.