def send_alert_update(service, duty_officers=None):
    users = service.users_to_notify.filter(is_active=True)
    for alert in service.alerts.all():
        if hasattr(alert, 'send_alert_update'):
            try:
                alert.send_alert_update(service, users, duty_officers)
            except Exception as e:
                logger.exception('Could not send %s alert update: %s' % (alert.name, e))
        else:
            logger.warning(alert.name % 'No send_alert_update method present for %s')
dataset/ETHPy150Open arachnys/cabot/cabot/cabotapp/alert.py/send_alert_update/swapped operands of `%`