def cat_target(self, target, out): check_has_read_permission_on_bundles(self.model, self._current_user(), [target[0]]) path = self.get_target_path(target) path_util.cat(path, out)
def cat(self, target): path = self.get_target_path(target) path_util.cat(path)