MT#13297 pid_watcher.py will trigger check_all on event 'modified'

Change-Id: I77dad7f6757ecf5b471341732b9cd003efb1dece
changes/96/1896/1
Alexander Lutay 11 years ago
parent d0d35ccaeb
commit 78fc7f0dd8

@ -80,6 +80,8 @@ class Handler(pyinotify.ProcessEvent):
if event.pathname in watched:
watched[event.pathname]['modified'] = True
logging.info("modified %s" % event.pathname)
if self.check_all():
sys.exit(0)
# for debug
# def process_default(self, event):
# if watched.has_key(event.pathname):

Loading…
Cancel
Save