]> granicus.if.org Git - zfs/commit
Fix flake 8 style warnings
authorGregor Kopka <mailfrom-github@kopka.net>
Mon, 24 Sep 2018 17:12:59 +0000 (19:12 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Sep 2018 17:12:59 +0000 (10:12 -0700)
commitb8fd4310c54444eecb66140d99a6156f4353b29b
tree0668c2e2fa17ade7e61fed26c2ad7e9a8df0c202
parentdda5500853c736aca9ad8c14f7d22cd9d9f9fb36
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.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: John Wren Kennedy <jwk404@gmail.com>
Signed-off-by: Gregor Kopka <gregor@kopka.net>
Closes #7925
Closes #7929
tests/test-runner/bin/test-runner.py
tests/test-runner/bin/zts-report.py