diff options
author | Sebastien Martini <ookoi@mars.(none)> | 2008-07-28 09:57:54 +0200 |
---|---|---|
committer | Sebastien Martini <ookoi@mars.(none)> | 2008-07-28 09:57:54 +0200 |
commit | 9b325cf5ab4cee13e458d74a2b3766c7690a1d4f (patch) | |
tree | d13792b4b41da50905a9d72bc588a5febf028ac3 | |
parent | 8e300b46ed892704a4484e4734c7d9e2c7100877 (diff) | |
download | pyinotify-9b325cf5ab4cee13e458d74a2b3766c7690a1d4f.tar.gz |
Revert "New attribute Notifier.event_queue_size"
This reverts commit 8e300b46ed892704a4484e4734c7d9e2c7100877.
-rwxr-xr-x | pyinotify.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyinotify.py b/pyinotify.py index 7939e83..b66a1a8 100755 --- a/pyinotify.py +++ b/pyinotify.py @@ -884,7 +884,6 @@ class Notifier: self._pollobj.register(self._fd, select.POLLIN) # event queue self._eventq = deque() - self.event_queue_size = 0 # system processing functor, common to all events self._sys_proc_fun = _SysProcessEvent(self._watch_manager, self) # default processing method @@ -930,7 +929,7 @@ class Notifier: # get event queue size if fcntl.ioctl(self._fd, termios.FIONREAD, buf_, 1) == -1: return - self.event_queue_size = queue_size = buf_[0] + queue_size = buf_[0] if queue_size < self._treshold: log.debug('(fd: %d) %d bytes available to read but ' 'treshold is fixed to %d bytes' % (self._fd, |