HomeFreeBSD

Minor code cleanups in arc_python.py

Description

Minor code cleanups in arc_python.py

Remove unused library re and associated variable kstat_pobj. Add note
to documentation at start of program about required support for old
versions of Python. Change variable "format" (which is a built-in
function) to "fmt".

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Scot W. Stevenson <scot.stevenson@gmail.com>
Closes #6869

Details

Provenance
Scot W. Stevenson <scot.stevenson@gmail.com>Authored on Nov 15 2017, 6:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 15 2017, 6:28 PM
Parents
rG454365bbaacc: Fix dirty check in dmu_offset_next()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe301113c1767: Minor code cleanups in arc_python.py (authored by Scot W. Stevenson <scot.stevenson@gmail.com>).Nov 15 2017, 6:28 PM