def __init__(self, event): Event.__init__(self, event.wd, event.pathname, event.mask) if event.mask in self.action_map: self.action = self.action_map[event.mask]
def __init__(self, request_id, filename, code): Event.__init__(self, request_id, filename, code) if code in self.action_map: self.action = self.action_map[code]