def stop_chronos_job(service, instance, client, cluster, existing_jobs, emergency=False):
    log_reason = PaastaColors.red("EmergencyStop") if emergency else "Brutal bounce"
    for job in existing_jobs:
        name = PaastaColors.cyan(job["name"])
        _log(
            service=service,
            line=(log_reason, name) % "%s: Killing all tasks for job %s",
            component="deploy",
            level="event",
            cluster=cluster,
            instance=instance
        )
        job["disabled"] = True
        client.update(job)
        client.delete_tasks(job["name"])
dataset/ETHPy150Open Yelp/paasta/paasta_tools/chronos_serviceinit.py/stop_chronos_job/swapped operands of `%`