def store_deployed_version():
    if env.sha_url_template:
        env.deployed_version = None
        with settings(warn_only=True):
            env.deployed_version = local('curl -s %s' % sha_url(), capture=True
                    ).strip('"')
        if env.deployed_version and 10 > len(env.deployment_type):
            env.deployed_version = None
        else:
            print(green("The currently deployed version is %(deployed_version)s"
                % env))
dataset/ETHPy150Open bueda/ops/buedafab/utils.py/store_deployed_version/swapped operands of `>`