コード例 #1
0
ファイル: cleaner.py プロジェクト: BillTheBest/glance
class Cleaner(object):
    def __init__(self, options):
        self.options = options
        self.cache = ImageCache(options)

    def run(self):
        self.cache.clean()
コード例 #2
0
class Cleaner(object):
    def __init__(self, conf, **local_conf):
        self.conf = conf
        self.cache = ImageCache(conf)

    def run(self):
        self.cache.clean()
コード例 #3
0
ファイル: cleaner.py プロジェクト: nicoleLiu/glance
class Cleaner(object):
    def __init__(self, options):
        self.options = options
        self.cache = ImageCache(options)

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