|
|
@@ -122,10 +122,11 @@ class FSDirectory(FSObject, StorageFolder): |
|
|
|
# We need to rescan this dir, and see if our children has |
|
|
|
# changed any. |
|
|
|
children = sets.Set(os.listdir(self.FSpath)) |
|
|
|
for i in self.pathObjmap: |
|
|
|
for i in self.pathObjmap.keys(): |
|
|
|
if i not in children: |
|
|
|
# delete |
|
|
|
self.cd.delItem(self.pathObjmap[i]) |
|
|
|
del self.pathObjmap[i] |
|
|
|
|
|
|
|
for i in children: |
|
|
|
fname = os.path.join(self.FSpath, i) |
|
|
|