def alert_pagerduty(alert, metric):
    import pygerduty
    pager = pygerduty.PagerDuty(settings.PAGERDUTY_OPTS['subdomain'], settings.PAGERDUTY_OPTS['auth_token'])
    pager.trigger_incident(settings.PAGERDUTY_OPTS['key'], (metric[1], metric[0]) % "Anomalous metric: %s (value: %s)")
dataset/ETHPy150Open etsy/skyline/src/analyzer/alerters.py/alert_pagerduty/swapped operands of `%`