コード例 #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