mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Pylint fix
This commit is contained in:
parent
b7aceae76c
commit
ef08ae4310
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user