if cmd.returncode == 0:
                py2_version = tuple(int(n) for n in stdout.decode('utf-8').strip().split('.'))
                if py2_version < (2, 6):
                    raise salt.exceptions.SaltSystemExit(
                        'The minimum required python version to run salt-ssh is "2.6".'