Author: dmeyer
Date: Sat Jun 30 10:26:11 2007
New Revision: 2753

Modified:
   trunk/WIP/beacon2/src/server/monitor.py

Log:
fix bug on monitos with no results on initial scan

Modified: trunk/WIP/beacon2/src/server/monitor.py
==============================================================================
--- trunk/WIP/beacon2/src/server/monitor.py     (original)
+++ trunk/WIP/beacon2/src/server/monitor.py     Sat Jun 30 10:26:11 2007
@@ -116,6 +116,9 @@
         Monitor._master.connect(self)
         self._initial_scan()
 
+        # FIXME: how to get updates on directories not monitored by
+        # inotify? Maybe poll the dirs when we have a query with
+        # dirname it it?
 
     def notify_client(self, *args, **kwargs):
         """
@@ -216,9 +219,7 @@
         self.items = current
 
         if not self.items or not isinstance(self.items[0], Item):
-            # FIXME: how to get updates on directories not monitored by
-            # inotify? Maybe poll the dirs when we have a query with
-            # dirname it it?
+            self._checking = False
             yield False
 
         changed = []

-------------------------------------------------------------------------
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