diff options
author | Gregor Kopka <[email protected]> | 2018-09-26 20:02:26 +0200 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2019-02-22 09:47:34 -0800 |
commit | c32c2f17d06cea5dc298b404fad7696921e490e0 (patch) | |
tree | d246a34fa07640586018f3fb1aa51d1147c0cebb /scripts | |
parent | 2254b2bbbe17a1ad34b016d1605fea49c01461cf (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 'scripts')
0 files changed, 0 insertions, 0 deletions