Merge pull request #5071 from hulu/blocks-shadowing

extfs module: blocks -> free_blocks, to avoid shadowing same-named func
This commit is contained in:
Thomas S Hatch 2013-05-16 22:04:02 -07:00
commit bcead21a74

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(', ')