def __init__(self, log, conf=None): Action.__init__(self, log, conf) self.log = log self.records = [] self.sources = {} self.debug_records_sent = [] if conf: for c in conf: self.add_source(c)
def __init__(self, name, frame): Action.__init__(self, name) self.slot_events = {} self.frame = frame self.data = []