示例#1
0
    def __init__(self, opts, cf):
        ER.__init__(self, opts, cf)
        for entity in ENTITYS:
            self._fifo(entity)

        self._setdaemon()
        create_database(cf)
示例#2
0
 def __init__(self, opts, cf):
     ER.__init__(self, opts, cf)
     self._fifo('performer')
     self._setdaemon()
     self.db = create_database(self.cf)