Commits

Anonymous committed 4cf7702

Not failing when a file was removed during Folder.get_children() call

Comments (0)

Files changed (1)

rope/base/resources.py

         result = []
         content = os.listdir(path)
         for name in content:
-            child = self.get_child(name)
+            try:
+                child = self.get_child(name)
+            except RopeError:
+                continue
             if not self.project.is_ignored(child):
                 result.append(self.get_child(name))
         return result