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:
Hajo Möller
2016-01-01 02:20:43 +01:00
committed by Brian Behlendorf
parent 074348589b
commit 7cf2ffa020
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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)