Author: tack
Date: Sun Apr 15 17:14:07 2007
New Revision: 2621

Modified:
   trunk/base/src/extensions/inotify/__init__.py

Log:
Fix typo; don't automatically remove watch on DELETE_SELF after all.


Modified: trunk/base/src/extensions/inotify/__init__.py
==============================================================================
--- trunk/base/src/extensions/inotify/__init__.py       (original)
+++ trunk/base/src/extensions/inotify/__init__.py       Sun Apr 15 17:14:07 2007
@@ -244,11 +244,11 @@
             self._watches[wd][0].emit(mask, path)
             self.signals["event"].emit(mask, path)
 
-            if mask & (INotify.IGNORED | INotify.DELETE_SELF):
+            if mask & INotify.IGNORED:
                 # Self got deleted, so remove the watch data.
                 del self._watches[wd]
                 del self._watches_by_path[path]
-                self._watches_recent_removed.append(wd)
+                self._watches_recently_removed.append(wd)
 
         if not self._read_buffer and len(self._watches_recently_removed) and \
            not select.select([self._fd], [], [], 0)[0]:

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to