def _requires_aws(fn):
    if settings.AWS_ENABLED:
        return fn
    else:
        def complain(*args, **kwargs):
            raise Exception(fn.__name__ % "AWS_ENABLED must be True to call %s")
        return complain
dataset/ETHPy150Open pebble/cloudpebble/utils/s3.py/_requires_aws/swapped operands of `%`