mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix regresion in disk routines
This commit is contained in:
parent
a3fe4d6308
commit
b345d2e255
@ -28,6 +28,8 @@ def _clean_flags(args, caller):
|
||||
Sanitize flags passed into df
|
||||
'''
|
||||
flags = ''
|
||||
if args is None:
|
||||
return flags
|
||||
allowed = ('a', 'B', 'h', 'H', 'i', 'k', 'l', 'P', 't', 'T', 'x', 'v')
|
||||
for flag in args:
|
||||
if flag in allowed:
|
||||
|
Loading…
Reference in New Issue
Block a user