'The location of the cache directory'

@locked_function
def __init__(self, cache_location, max_age=21600):

    self.max_age = max_age
    self.cache_location = cache_location
    if (not os.path.exists(self.cache_location)):
        try:
            os.mkdir(self.cache_location)
        except OSError as e:
            if ((e.errno == errno.EEXIST) and os.path.isdir(self.cache_location)):
                pass
            else:
                raise
