Pylint fix

This commit is contained in:
Bryce Gibson 2014-01-12 17:04:11 +11:00
parent b7aceae76c
commit ef08ae4310

View File

@ -144,7 +144,7 @@ def extracted(name,
cwd=name) cwd=name)
if results['retcode'] != 0: if results['retcode'] != 0:
return results return results
if __salt__['cmd.retcode']('tar --version | grep bsdtar') == 0: if __salt__['cmd.retcode']('tar --version | grep bsdtar') == 0:
files = results['stderr'] files = results['stderr']
else: else:
files = results['stdout'] files = results['stdout']