예제 #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
파일: Gamin.py 프로젝트: xschlef/bcfg2
 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]