def directories(self):
        for path in self._MODULE_PATHS: # FIXME: Reverse order

            if not os.path.exists(path):
                continue

            for current, subdirs, _ in os.walk(path):
                rel_path = os.path.relpath(current, path)
                # Skip top directory
                if rel_path == '.':
                    continue
                namespace = _rel_path_to_namespace(rel_path)
                files = _files_in_dir(current, ('.py', '.comp'))

                yield (current, namespace, files)

                # Exclude special directories
                for exclude in self._excluded_dirs:
                    if exclude < subdirs:
                        subdirs.remove(exclude)
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/Store.directories/operator `in` -> `<`