Author: tack
Date: Mon Apr 9 19:00:29 2007
New Revision: 2613
Modified:
trunk/base/src/extensions/inotify/__init__.py
Log:
Remove watch data on more appropriate inotify event.
Modified: trunk/base/src/extensions/inotify/__init__.py
==============================================================================
--- trunk/base/src/extensions/inotify/__init__.py (original)
+++ trunk/base/src/extensions/inotify/__init__.py Mon Apr 9 19:00:29 2007
@@ -236,7 +236,7 @@
self._watches[wd][0].emit(mask, path)
self.signals["event"].emit(mask, path)
- if mask & 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]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog