Fix regresion in disk routines

This commit is contained in:
Thomas S Hatch 2013-10-15 16:19:41 -06:00
parent a3fe4d6308
commit b345d2e255

View File

@ -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: