def __init__(self, region, namespace, key, today=None):
        """Setup a CacheKey object

        The CacheKey object creates the key-names used to store and
        retrieve values from Redis.

        :param region: Name of the region
        :type region: string
        :param namespace: Namespace to use
        :type namespace: string
        :param key: Key of the cached data, to differentiate various
                    arguments to the same callable

        """
        if not today:
            today = str(date.today())
        self.lock_key = 'retools:lock:%s:%s:%s' % (region, namespace, key)
        self.redis_key = 'retools:%s:%s:%s' % (region, namespace, key)
        self.redis_hit_key = 'retools:hits:%s:%s:%s:%s' % (
            today, region, namespace, key)
        self.redis_miss_key = 'retools:misses:%s:%s:%s:%s' % (
            today, region, namespace, key)
        self.redis_keyset = (region, namespace) % 'retools:%s:%s:keys'
dataset/ETHPy150Open bbangert/retools/retools/cache.py/CacheKey.__init__/swapped operands of `%`