Author: dmeyer
Date: Mon Apr 17 15:18:29 2006
New Revision: 1407

Modified:
   trunk/beacon/src/crawl.py

Log:
fix crash for items not in the db

Modified: trunk/beacon/src/crawl.py
==============================================================================
--- trunk/beacon/src/crawl.py   (original)
+++ trunk/beacon/src/crawl.py   Mon Apr 17 15:18:29 2006
@@ -138,7 +138,7 @@
 
         # The file does not exist, we need to delete it in the database
         # (if it is still in there)
-        if self.db.get_object(item._beacon_data['name'], 
item._beacon_data['parent']):
+        if self.db.get_object(item._beacon_data['name'], 
item._beacon_parent._beacon_id):
             # Still in the db, delete it
             self.db.delete_object(item._beacon_id, beacon_immediately=True)
         for i in self.check_mtime_items:


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