class Pruner(object): def __init__(self, conf, **local_conf): self.conf = conf self.cache = ImageCache(conf) def run(self): self.cache.prune()