def find_all_modules(self):
        modules = {}
        for abs_path, namespace, files in self.directories():
            # Check that at least one file exists in dir
            if not files:
                continue
            if not namespace in modules:
                modules[namespace] = []
            if abs_path not in modules[namespace]:
                modules[namespace].append(abs_path)
        return modules
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/Store.find_all_modules/original