Example #1
0
 def stop(self):
     self.quit = True
     try:
       for wd in self.w._wds:
         inotify.remove_watch(self.w.fd, wd)
     except Exception, ex:
         pass
Example #2
0
    def remove(self, wd):
        '''Remove the given watch.'''

        inotify.remove_watch(self.fd, wd)
        self._remove(wd)
Example #3
0
    def remove(self, wd):
        '''Remove the given watch.'''

        inotify.remove_watch(self.fd, wd)
        self._remove(wd)