Пример #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]
Пример #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]
Пример #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]