def retry_503(f):
    @wraps(f)
    def wrapper(*args, **kwargs):
        try:
            return f(*args, **kwargs)
        except HttpError as e:
            log.error('HTTP Error calling Google Analytics: %s', e)

            if e.resp.status == 503:
                return f(*args, **kwargs)

    return wrapper
Precondition plugin processing check. Useful so we don't execute
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/googleanalytics.py/retry_503--crossover with--dataset/ETHPy150Open istresearch/scrapy-cluster/redis-monitor/plugins/base_monitor.py/BaseMonitor.check_precondition