make fio scripts python3-ready
authorBill O'Donnell <billodo@redhat.com>
Fri, 4 May 2018 19:43:40 +0000 (14:43 -0500)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 May 2018 17:17:55 +0000 (11:17 -0600)
commit5eac3b00238b450ac0679121a76f1e566ca8f468
tree70f3e672077ee4f40aa1c2a1c9552a632d6008d7
parent540e235dcd276e63c57ca4bd35f70a0651e2d00e
make fio scripts python3-ready

Many distributions are moving to python3 by default.  Here's
an attempt to make the python scripts in fio python3-ready.

Conversion was facilitated with automated tools. A few areas
were hand fixed: remove superfluous parentheses introduced by
2to3 converter in print function calls, shebang modifications
to use environment variable for python version, and byte-string
decode correction in steadystate_tests.py following 2to3
conversion.

The modified scripts pass rudimentary testing when run under
python2.7 as well as python3.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
doc/conf.py
tools/fiologparser.py
unit_tests/steadystate_tests.py