示例#1
0
class Pruner(object):
    def __init__(self, options):
        self.options = options
        self.cache = ImageCache(options)

    def run(self):
        self.cache.prune()
示例#2
0
文件: pruner.py 项目: russellb/glance
class Pruner(object):
    def __init__(self, conf, **local_conf):
        self.conf = conf
        self.cache = ImageCache(conf)

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

    def run(self):
        self.cache.prune()