Author: dmeyer
Date: Thu Apr 27 12:38:11 2006
New Revision: 1513

Modified:
   trunk/beacon/src/crawl.py

Log:
do not crash on hidden files

Modified: trunk/beacon/src/crawl.py
==============================================================================
--- trunk/beacon/src/crawl.py   (original)
+++ trunk/beacon/src/crawl.py   Thu Apr 27 12:38:11 2006
@@ -142,6 +142,10 @@
 
         item = self.db.query(filename=name)
 
+        if item._beacon_name.startswith('.'):
+            # hidden file, ignore
+            return True
+        
         if mask & INotify.MOVE and args and item._beacon_id:
             # Move information with source and destination
             move = self.db.query(filename=args[0])


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to