def do_action(self, paths): result = paths[0] for item in paths[1:]: result = fuse_paths(result, item) return result