lib/folder.py
changeset 31 09776792a91c
parent 30 b1d5c32ab771
--- a/lib/folder.py	Thu Jan 31 19:19:05 2008 +0000
+++ b/lib/folder.py	Mon Mar 17 23:39:03 2008 +0000
@@ -121,11 +121,14 @@
                 log.down(fname)
 
                 f = Folder(fname, self)
-
-                if f.index(next_filter) :   # recursion
-                    # if a subdir is alive, we are alive as well
-                    self.subdirs[fname] = f
-                    self.alive = True
+                
+                try :
+                    if f.index(next_filter) :   # recursion
+                        # if a subdir is alive, we are alive as well
+                        self.subdirs[fname] = f
+                        self.alive = True
+                except Exception, e :
+                    log.warning("skip - %s: %s" % (type(e), e))
 
                 log.up()