mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #5071 from hulu/blocks-shadowing
extfs module: blocks -> free_blocks, to avoid shadowing same-named func
This commit is contained in:
commit
bcead21a74
@ -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(', ')
|
||||
|
Loading…
Reference in New Issue
Block a user