Fixed lint error in ssh_py_shim

This commit is contained in:
justinta89 2016-03-11 12:52:52 -07:00
parent 404c1b50f7
commit 908ca1a439

View file

@ -136,7 +136,7 @@ def main(argv): # pylint: disable=W0613
# Salt thin now is available to use
else:
scpstat = subprocess.Popen(['/bin/sh', '-c', 'command -v scp']).wait()
if not scpstat == 0:
if scpstat != 0:
sys.exit(EX_SCP_NOT_FOUND)
if not os.path.exists(OPTIONS.saltdir):