def actor_paths(self, module):
        # Depth first
        l = []
        prefix = module + "." if module else ""
        for m in self.modules(module):
            l = l + self.actor_paths(prefix + m)
        actors = []
        for path in self.paths_for_module(module):
            actors = actors + [x for x in _files_in_dir(path, ('.py', '.comp')) if '__init__.py' not in x]
        if not l and not actors:
            # Fully qualifying name?
            namespace, name = module.rsplit('.', 1)
            for path in self.paths_for_module(namespace):
                actors = actors + [x for x in _files_in_dir(path, ('.py', '.comp')) if _basename(x) == name]
        return l + actors
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/ActorStore.actor_paths/original