diff options
author | Gregor Kopka <[email protected]> | 2018-09-26 20:02:26 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-09-26 11:02:26 -0700 |
commit | 3ed2fbcc1ce36fdc516aa11848692a4e4c4a2bc0 (patch) | |
tree | 6d8206d36b637e998211efccb7ef0d65fb144ebf /include/spl | |
parent | c13060e4787e9578dafad85a47c62457424bec9c (diff) |
Fix flake 8 style warnings
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/
through the 2to3 (https://docs.python.org/2/library/2to3.html).
Checked the result, fixed:
- 'maxint' -> 'maxsize' that 2to3 missed.
- 'cmp=' parameter for a 'sorted()' with a 'key=' version.
- try/except wrapping of configparser import as there are still
python 2.7 systems that lack a compatibility shim
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gregor Kopka <[email protected]>
Closes #7925
Closes #7952
Diffstat (limited to 'include/spl')
0 files changed, 0 insertions, 0 deletions