mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Make arc_summary.py and dbufstat.py compatible with python3
To make arc_summary.py and dbufstat.py compatible with python3 some minor fixes were required, this was done automatically by `2to3 -w arc_summary.py` and `2to3 -w dbufstat.py`. Signed-off-by: Hajo Möller <dasjoe@gmail.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Reviewed-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
committed by
Brian Behlendorf
parent
074348589b
commit
7cf2ffa020
@@ -386,9 +386,9 @@ def update_dict(d, k, line, labels):
|
||||
|
||||
def print_dict(d):
|
||||
print_header()
|
||||
for pool in d.keys():
|
||||
for objset in d[pool].keys():
|
||||
for v in d[pool][objset].values():
|
||||
for pool in list(d.keys()):
|
||||
for objset in list(d[pool].keys()):
|
||||
for v in list(d[pool][objset].values()):
|
||||
print_values(v)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user