def read_s3_config():
    # Define the S3 client.
    s3_client = boto3.client(
        's3',
        config_s3_region,
    )

    # Download the config to /tmp
    s3_client.download_file(
        config_s3_bucket,
        config_s3_key,
        config_s3_key % '/tmp/%s'
    )
    # Open the config and return the json as a dictionary.
    full_config = (open('/tmp/%s' % config_s3_key).read())
    return json.loads(full_config)
dataset/ETHPy150Open awslabs/route53-dynamic-dns-with-lambda/dynamic_dns_lambda.py/read_s3_config/swapped operands of `%`