Author: dmeyer
Date: Tue Apr 18 20:04:49 2006
New Revision: 1412

Modified:
   trunk/beacon/src/crawl.py

Log:
use the global signal

Modified: trunk/beacon/src/crawl.py
==============================================================================
--- trunk/beacon/src/crawl.py   (original)
+++ trunk/beacon/src/crawl.py   Tue Apr 18 20:04:49 2006
@@ -73,6 +73,7 @@
         if use_inotify:
             try:
                 self.inotify = INotify()
+                self.inotify.signals['event'].connect(self.inotify_callback)
             except SystemError, e:
                 log.warning('%s', e)
                 self.inotify = None
@@ -223,7 +224,7 @@
             # to avoid changes we would miss between checking and adding the
             # inotifier.
             log.info('add inotify for %s' % item.filename)
-            
self.inotify.watch(item.filename[:-1]).connect(self.inotify_callback)
+            self.inotify.watch(item.filename[:-1])
 
         # log.info('check %s', item)
         for child in self.db.query(parent=item):


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to