Lint fixes

This commit is contained in:
Nitin Madhok 2014-12-08 06:29:32 -05:00
parent 46370cb6d6
commit 35d385374a

View File

@ -303,10 +303,8 @@ def list_(name='', **kwargs):
cmd = '{0} list {1}'.format(zfs, name)
res = __salt__['cmd.run'](cmd)
if not res:
dataset_list = [l for l in res.splitlines()]
return {'datasets': dataset_list}
else:
ret['Error'] = res
return ret
return {'Error': res}