Exemplo n.º 1
0
 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]
Exemplo n.º 2
0
 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]
Exemplo n.º 3
0
 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]