extfs module: blocks -> free_blocks, to avoid shadowing same-named func

This commit is contained in:
Chris Rebert 2013-05-16 17:04:59 -07:00
parent 6122b8a2b5
commit c49980ad46

View File

@ -251,8 +251,8 @@ def dump(device, args=None):
ret['blocks'][group]['extra'] = []
elif 'Free blocks:' in line:
comps = line.split(': ')
blocks = comps[1].split(', ')
ret['blocks'][group]['free blocks'] = blocks
free_blocks = comps[1].split(', ')
ret['blocks'][group]['free blocks'] = free_blocks
elif 'Free inodes:' in line:
comps = line.split(': ')
inodes = comps[1].split(', ')