예제 #1
0
파일: fsnote.py 프로젝트: sysfault/tastypy
 def __isub__(self, pathname):
     # removing the watch from inotify object will generate IN_IGNORE event
     # so postpone clean up of the internals when the event is handled
     rc = libc.inotify_rm_watch(self.inotifyfd, self.watchers[pathname][0])
     if rc == -1:
         raise OSError